I want the set to <td>float left in IE7. If the window is too small, they should go to the next line.
CSS
table {
width: 100%;
}
td {
border: 1px solid red;
}
tr.f td {
width: 500px;
float: left;
}
HTML:
<table>
<tr class="f">
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
This works in IE8 and Firefox, but not in IE7. What am I doing wrong?
The page rendering mode is "IE7 (Quirks)" or "IE7 (Standards)." I try with IE8, however, believing that IE7's rendering mode is what it says. "IE8 Compatibility View" also does not work, only "IE8 Standards" fix it.
source
share