How can a parent DIV wrap around child DIVs which are floating left or right?
Edited by Charisma, 20 July 2012 - 18:54.
| Is Terrorism a Muslim Monopoly? in Real World News |
|
|
| Doctor Who in The Media Room |
|
|
| Epic Threads forum? in Site & Forum Issues |
|
|
| Metal Gear Rising confirmed for PC in Computer Gaming |
|
|
| Lenovo Takes on MacBook Air with ThinkPad X1 Carbon Touch in Back Page News |
|
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;
}