Posted By

Sullan on 07/21/11


Tagged


Versions (?)

Clear floats with pseudo class


 / Published in: CSS
 

  1. .group:before,
  2. .group:after {
  3. content:"";
  4. display:table;
  5. }
  6. .group:after {
  7. clear:both;
  8. }
  9. .group {
  10. zoom:1; /* For IE 6/7 (trigger hasLayout) */
  11. }

Report this snippet  

You need to login to post a comment.