Posted By

marcio on 02/22/09


Tagged

css crossbrowser tecnicas


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

troynt
rickfu
tonic
BrittanyL
hmilena


display:inline-block para todos los navegadores. (listado de elementos)


 / Published in: CSS
 

URL: http://www.anieto2k.com/2009/02/22/displayinline-block-para-todos-los-navegadores/

ideal para listas de elementos con diferentes alturas

  1. li {
  2. width: 200px;
  3. min-height: 250px;
  4. border: 1px solid #000;
  5. display: -moz-inline-stack; /* FF2*/
  6. display: inline-block;
  7. vertical-align: top; /* BASELINE CORRECCI�N*/
  8. margin: 5px;
  9. zoom: 1; /* IE7 (hasLayout)*/
  10. *display: inline; /* IE */
  11. _height: 250px; /* IE6 */
  12. }

Report this snippet  

You need to login to post a comment.