Previous Message
Next Message

<col> in Mozilla

Sent by Bruno Fassino on 1 December 2003 23:11


> So, have I to put something like 'class="right"' in each td element?

If your column to be right-aligned is the last one, you can try something
like:
#tab td + td {
	text-align: right;
}
This should apply to the second column (but also to the following ones, in
other words: to all td except the first column.)
IE doesn't understand this, but you told that it accepts the text-align on
the col element.

Bruno

______________________________________________________________________
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

Possibly related: