Posted By

dloop on 09/16/10


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


CSS: Unordered list clear image floated left

 / Published in: CSS

  1. ul {display: inline-block} /* trigger hasLayout in IE */
  2. ul {display: block} /* reset to default (triggered hasLayout will stay) */
  3. ul {overflow: hidden} /* clear floats in good browsers */
  5. Combine all 3 into single ul element style.

Report this snippet  

You need to login to post a comment.