Tuesday, August 25, 2009

Clearfix in css

Use this class in css for the container div in order to overcome the float property of inner containers.
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}

No comments:

Post a Comment

Featured Post

Domain and blog for Sale