Posted By

funkadelicsoul on 07/27/09


Tagged

clear


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

heinz1959
ozenyx


CSS clear class


 / Published in: CSS
 

  1. .clear:after {
  2. content:".";
  3. clear:both;
  4. display:block;
  5. height:0;
  6. visibility:hidden;
  7. }
  8.  
  9. /*<!--[if IE 7]>
  10.   *:first-child+html .clear { min-height:1px; }
  11. <![endif]-->
  12.  
  13. <!--[if lt IE 7]>
  14.   * html .clear { height:1%; }
  15. <![endif]-->*/

Report this snippet  

You need to login to post a comment.