Posted By

fatihturan on 09/02/10


Tagged

css ie


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

LyndseyPearce
jplr
dext


Cross Browser display:inline-block


 / Published in: CSS
 

URL: http://3liters.com/blog/tag/inline-block-ie7/

You’ve now told the HTML web page that is linked to this CSS document to display the nav_bar list as inline-block – or in a single, horizontal row. The first problem: IE6 and IE7 don’t recognize it, so you need to add something that only they will recognize:

  1. ul#nav_bar li {
  2. display:inline-block;
  3. zoom: 1;
  4. *display: inline;
  5. }

Report this snippet  

You need to login to post a comment.