title: how to put links in one line [CSS]
body: <p>I have the following links :</p>
  
  <pre><code>&lt;div class="links"&gt;
      &lt;a href="Default.aspx" class="kustomborder"&gt;Home&lt;/a&gt;
      &lt;a href="#"&gt;About Me&lt;/a&gt;
      &lt;a href="#"&gt;Contacts&lt;span&gt;&lt;/span&gt;&lt;/a&gt;
    &lt;a href="#"&gt;Contact Author&lt;/a&gt;
  
      &lt;div class="link"&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>with this css file:</p>
  
  <pre><code> .links {
      height: 50px;
      display: inline;
          text-align: center;
          padding: 0px 0px 0px 170px;
          margin-right: 0px;
          margin-top: 7px;
          border: none;
          line-height: 25px;
  }
      .links a {
          background: #ffffff; /* Old browsers */
          background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
          background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
          background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
          background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
          background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
          background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
          filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
          color: black;
          font-family: Calibri;
          font-size: 13px;
          text-decoration: none;
          padding: 2px 10px;
          border: 1px solid #ccc;
      }
  
          .links a span {
              width: 0;
              height: 0;
              border-left: 3px solid transparent;
              border-right: 3px solid transparent;
              border-top: 3px solid #555;
              display: inline-block;
              margin: 2px 7px;
          }
  </code></pre>
  
  <p>I want the links to show in one line ie: [home] [contacts] [link3] etc</p>
  
  <p>but currently its showing on seperate lines like:</p>
  
  <p>[home][contacts]<br>
  [link3]</p>
  
  <p>How can I get them on one line?</p>