How can a parent DIV wrap around child DIVs which are floating left or right?
Edited by Charisma, 20 July 2012 - 18:54.
| Win 8 from external, within OSX? in Mac Discussion & Support |
|
|
| Xbox: A New Generation Revealed in Microsoft Console |
|
|
| Xbox One 500GB hard drives can't be replaced in Microsoft Console |
|
|
| Cant embed youtube Videos in Site & Forum Issues |
|
|
| The Big Wrestling Thread! in The Sporting Arena |
|
Posted 19 July 2012 - 10:54
/*CLEAR FIX*
/* For modern browsers */
.clearfix:before,
.clearfix:after {
content:"";
display:table;
}
.clearfix:after {
clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearfix {
zoom:1;
}