On Aug 24, 2006, at 5:40 AM, Peter-Paul Koch wrote:

>> http://www.w3.org/TR/1999/REC-html401-19991224/struct/ 
>> tables.html#adef-width-COL
>> both specify that widths on cols and colgroups apply per column.
>
> But does "each column" mean the <col /> tag (which may span several
> <td /> columns) or the individual <td /> tags? As far as I can see the
> entire <col /> is meant, which would mean that none of the browsers
> implement this correctly.

 From the url above
<quote>
This attribute specifies a default width for each column spanned by  
the current COL element.
</quote>
And a bit lower in the text
<quote>
The width attribute for COL refers to the width of each column in the  
element's span.
</quote>

This seems fairly clear to me: the width is applied to each of the  
columns (<td />).

Under <colgroup /> we see some similar wording:
<quote>
The width attribute of the COLGROUP element is inherited by all 40  
columns.
</quote>
<http://www.w3.org/TR/1999/REC-html401-19991224/struct/ 
tables.html#adef-width-COLGROUP>

This is consistent with what most UA implement.
Safari doesn't support width on the <col> element (fixed in nightly  
WebKit builds)


Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to