/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.holder{ letter-spacing:-1ex; /*fix to remove the "space" (generated by indentation) beetween elements*/ } .holder *{ letter-spacing:0ex; /*fix to return the default value of the letter-spacing*/ } .holder .inlined-block{ display:inline-block; /*ie6, 7 & 8 hack*/ *display:inline; zoom:1; width:49.9%; /*just for example*/ } /* Example <div class="holder"> <div class="inline-block">content</div> <div class="inline-block">content</div> <div class="inline-block">content</div> <div class="inline-block">content</div> <div class="inline-block">content</div> </div> */