Previous Message
Next Message

<col> in Mozilla

Sent by Chris Heilmann on 2 December 2003 14:02


>> 	This is plain ...(stoped before cursing). Why wouldn't they allow
>> ALL text and font-properties for col and colgroup?
>> 	Does these people ever try to _design_a web site? What if I want to
>> style columns, not rows? To apply class to every damn TD so that I can
>> have both standard-compliant and _efficient_ (smallest possible markup)
>> web page? W3C really needs reality check sometimes.
>
> Adjacent selectors will help in this regard. Adjacent selectors combined
> with descendant selectors will help even more.
>
> If you wish, you can even style each cell separately without a single
> class or id[1].
>
> Wojtek
>
> [1] http://www.literarymoose.info/=/destroy/chessboard.html
(^ the screenshot is dead)

Sadly enough only real CSS browsers do support that. IE (being the most
used one) does not do that as of now (and is not likely to ever do it
until longhorn is out).
So all you can do is add classes to the TDs, or use a
Javascript to access the table's DOM and add the settings.
This'll make you dependent on Javascript though.


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: