Posted By

hotdiggity on 09/02/10


Tagged

fix hack clearfix


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

atomicbutterfly
jplr


clearfix update


 / Published in: CSS
 

URL: http://www.posterous.com

As used by Posterous. Forces parent element to stretch to the dimensions of its child element.

  1. .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
  2. * html .clearfix { zoom: 1; } /* IE6 */
  3. *:first-child+html .clearfix { zoom: 1; } /* IE7 */

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: on October 27, 2018

the 8 best digital signal antenna tv reviewtvantennas

Posted By: on April 19, 2019

How do I Fix computer error 0x14dfb2ee Windows on NT 3.1, 95, Vista, XP, 7, NT Workstation 3.5, 8.1, 10, 8, 98, Me, 2000 Professional

You need to login to post a comment.