Hi,
For those three orange boxes I would just use display:table-cell as follows:
Code:
.cols{
display:table;
border-spacing:25px;
margin:20px 0;
}
.col1,.col2,.col3{
display:table-cell;
float:none;
padding:10px 0;
}
.fake_float{display:none}
The above will only work in IE8+. If you need to support IE7 then just re-instate the floated rules and let IE7 have the non equal floated approach instead.
Use conditional comments to target ie7 or use the ie7 *+html hack:
Code:
*+html .col1,
*+html .col2,
*+html .col3 {
float:left
}
*+html .fake_float{display:block}
/*etc.. and so on for any properties that were changed in the original rules.... */
[/code]
Bookmarks