In news

,
Glen K <> expounded:
| If I veiw the following HTML in IE 5 or 6:
|
| <table>
| <tr> <td colspan="2">
| ________________________CELL1_____________________
| </td></tr>
| <tr><td style="background-color: green;width:100px;">
| CELL2
| </td>
| <td>
| CELL3
| </td></tr>
| </table>
|
| The columns with CELL2 comes out a lot wider than 100px. As a matter
| of fact, I've tried experimenting with different widths and it looks
| like it's adding the specified width to half the width of the "CELL1"
| cell. It looks OK in Firefox, so is this some kind of bug or am I
| missing something?
It does for me, too. I noticed that your content line in HTML is 380px long.
That is taken to be colspan x 2 apparently. While FF and NS heed the width
of the td in cell 2, IE does not. Try making your content line 200 px wide
and make the td width for cell 2 50%. It appears right in all three. I'm
guessing IE bug.
<table>
<tr> <td colspan="2">
_______________________CELl 1__ (make this 200px)
</td></tr>
<tr><td style="background-color: green;width:50%;">
CELL2
</td>
<td>
CELL3
</td></tr>
</table>
--
stephen