How can a parent DIV wrap around child DIVs which are floating left or right?
Edited by Charisma, 20 July 2012 - 18:54.
| Grand Theft Auto V Special Edition and Collector's Edition announced in Gamers' Hangout |
|
|
| StarCraft II: Heart of the Swarm in Computer Gaming |
|
|
| [Access 2007] Calculate hours in Programming (C#, C++, JAVA, VB, .NET etc.) |
|
|
| Cloud based rendering, is it possible? in Microsoft Console |
|
|
| Diablo III in Computer Gaming |
|
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;
}