Question

The following sample does not show the second cell in IE5/IE7 (possibly IE6, too, but I was not able to test it):

<table style="table-layout:fixed">
<colgroup>
    <col style="width:99%">
    <col style="width:15%">
</colgroup>
<tr>
    <th>Heading 1</th>
    <th>Heading 2</th>
</tr>
<tr>
    <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ullamcorper eros turpis, a placerat diam malesuada porttitor.</td>
    <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ullamcorper eros turpis, a placerat diam malesuada porttitor.</td>
</tr>
</table>

Other browsers prefer the width of the second cell and reduce the width of the first one by themself. Is it not allowed to have more than 100% width in total or is this a bug related to IE5/IE7?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top