...
<...">

Colspan in IE7 / 8 not respected

The DOM looks like this:

<table> <tr> <td>a</td>...<td>g</td> </tr> <tr> <td colspan="3"> <table> ... </table> </td> </tr> <tr> <td></td>...<td></td> </tr> </table> 

Any idea why this is not working in IE? I tried setting width:auto to TD while holding the internal table, and table-layout:fixed not viable, since the tabular data is generated dynamically.

What could be wrong?

Currently, the table fills only the first column and will not cover.

Update: EXAMPLE

http://stefankendall.com/files/example.html

+7
html html-table internet-explorer-7
source share
2 answers

Use colSpan , not colSpan

+20
source share

The only thing that comes to mind is that you may have to fill the columns with something so that they can be rendered in IE.

 <td>&nbsp;</td> 
+1
source share

All Articles