![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
#12
| |||
| |||
|
|
And I can imagine that for this kind of table structure, the presence of the colspan attribute is largely irrelevant. |
#13
| |||
| |||
|
|
I think there's maybe a red herring in here somewhere. One could have table tr td> </td td> </td /tr tr td colspan="2"> </td /tr /table And I can imagine that for this kind of table structure, the presence of the colspan attribute is largely irrelevant. |
|
| | +---+---+ | +-------+ |
|
| | +---+---+ | +---+ |
#14
| |||
| |||
|
#15
| |||
| |||
|
|
Oh yeah! Can't think what I was thinking about there. I suppose what I'm getting at is why it makes a difference to you that the datalist doesn't put in that extra cell. |
#16
| |||
| |||
|
#17
| |||
| |||
|
#18
| |||
| |||
|
|
I've looked through the W3C site trying to find a spec that says whether or not each TR needs a balanced set of TDs, but I can't find anything. Anyone have a definitive answer to this? |
#19
| |||
| |||
|
|
.oO(darrel) I've looked through the W3C site trying to find a spec that says whether or not each TR needs a balanced set of TDs, but I can't find anything. Anyone have a definitive answer to this? OK, me again ... There's a section in the HTML 4 spec that should answer the question: Calculating the number of columns in a table http://www.w3.org/TR/html40/struct/tables.html#h-11.2.4.3 "[...} The number of columns is equal to the number of columns required by the row with the most columns, including cells that span multiple columns. For any row that has fewer than this number of columns, the end of that row should be padded with empty cells. [...]" Micha |
#20
| |||
| |||
|
|
So - the answer is YES. It matters. |
![]() |
| Thread Tools | |
| Display Modes | |
| |