Posted By

MikeyLikesIt on 03/16/10


Tagged

css textmate layout ul grid li inline-block


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

cschlens


inline-block : cross browser hack


 / Published in: Other
 

  1. /* hack to make inline-block property work on all major browsers - http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ */
  2. li {
  3. width: 200px;
  4. min-height: 250px;
  5. border: 1px solid #000;
  6. display: -moz-inline-stack;
  7. display: inline-block;
  8. vertical-align: top;
  9. margin: 5px;
  10. zoom: 1;
  11. *display: inline;
  12. _height: 250px;
  13. }
  14.  

Report this snippet  

You need to login to post a comment.