Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
|
Conditional comments. This is what I use when I'm using the table-row and table-cell properties to correct for IE7. You will, of course have to modify to your ends:
<!--[if lte IE 7]>
<style>
.row{
display: block;
}
.cell{
clear: none;
display: inline;
float:left;
vertical-align: middle;
}
.cell div{
clear: none;
display: inline;
float:left;
vertical-align: middle;
}
.cell a{text-align:center;}
.cell a img{border:2px solid #000;}
.ieclear{clear:both;}
</style>
<![endif]-->
Which means you'll have to put in ieclear divs to clear your floats, thus really eliminating the ease of using table-row and table-cell. That's why I cleaned up what I really name the class names.
tim 
Last edited by serandfae; 07-20-2008 at 07:16 PM..
|