LIst style based navigation makes newline space in IE6


/ Published in: CSS

Internet Explorer (IE) 6 Bug


Copy this code and paste it in your HTML
  1. <div id="subnavigation">
  2. <ul>
  3. <li><a href="/nav1/>nav1</a></li>
  4. <li><a href="/nav2/>nav2</a></li>
  5. <li><a href="/nav3/>nav3</a></li>
  6. </ul>
  7. </div>
  8.  
  9.  
  10. /* fixes the new line after the li line in ie6 */
  11. * html div#subnavigation ul li {
  12. height: 1px;
  13. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.