title: Why is my menu being displayed as vertical instead of horizontal on IE?
body: <p>So basically I have a simple menu that is not displaying correctly in IE at all.</p>
  
  <p>Have visited another few posts that has this same problem, although they didn't seem to work.</p>
  
  <p>Here is my HTML:</p>
  
  <pre><code>&lt;div id="topnav"&gt;
  
  &lt;ul&gt;
          &lt;a href="#" title="Car Sales"&gt;&lt;li&gt;Car Sales&lt;/li&gt;&lt;/a&gt;
          &lt;a href="#" title="Boat Sales"&gt;&lt;li&gt;Boat Sales&lt;/li&gt;&lt;/a&gt;
          &lt;li&gt;Caravan Sales&lt;/li&gt;
          &lt;a href="#" title="Truck Sales"&gt;&lt;li&gt;Truck Sales&lt;/li&gt;&lt;a&gt;
          &lt;a href="#" title="Equipment Sales"&gt;&lt;li&gt;Equipment Sales&lt;/li&gt;&lt;/a&gt;
          &lt;a href="#" title="Bike Sales"&gt;&lt;li&gt;Bike Sales&lt;/li&gt;&lt;/a&gt;
  &lt;/ul&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Here is my CSS:</p>
  
  <pre><code>#topnav
  {
  text-align:center;
  width:100%;
  background-color:#ffffff;
  }
  
  
  
  #topnav ul a li
  {
  display:inline-block;
  font: 12px/18px sans-serif;
  color:#000000;
  }
  
  #topnav ul {
  width:100%;
    text-align: left;
    display: inline;
    margin: 0;
    padding: 0px;
    list-style: none;
  
  }
  #topnav ul li {
    font: bold 12px/18px sans-serif;
    display: inline-block;
    margin-right: -4px;
    position: relative;
    padding: 5px 20px;
    background: #fff;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  }
  #topnav ul li:hover {
    background: #555;
    color: #fff;
  }
  
  #topnav ul li a:hover{ color:#ffffff; }
  
  #topnav ul li ul {
    padding: 0;
    position: absolute;
    top: 48px;
    left: 0;
    width: 150px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transiton: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    -transition: opacity 0.2s;
  }
  #topnav ul li ul li { 
    background: #555; 
    display: block; 
    color: #fff;
    text-shadow: 0 -1px 0 #000;
  }
  #topnav ul li ul li:hover { background: #666; }
  #topnav ul li:hover ul {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  </code></pre>
  
  <p>JSfiddle:
  <a href="http://jsfiddle.net/menEk/1/" rel="nofollow">http://jsfiddle.net/menEk/1/</a></p>
  
  <p>All help and suggestions would be greatly appreciated.</p>