Posted By

koorb on 02/28/10


Tagged

css inline block inline-block


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

zolotoy


Inline-Block (Cross Browser)


 / Published in: CSS
 

URL: http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/

Makes

  • elements display inline-block in Firefox 2, IE 6 and 7

    1. li {
    2. width: 200px;
    3. min-height: 250px;
    4. border: 1px solid #000;
    5. display: -moz-inline-stack;
    6. display: inline-block;
    7. vertical-align: top;
    8. margin: 5px;
    9. zoom: 1;
    10. *display: inline;
    11. _height: 250px;
    12. }

    Report this snippet  

    You need to login to post a comment.