On Mar 9, 2007, at 7:14 PM, Jukka K. Korpela wrote:
> On Fri, 9 Mar 2007, Philippe Wittenbergh wrote:
>
>> td:first-child+td+td+td {text-align:right;} will select the 4th
>> column in good browsers (including IE7).
>> For IE 6, you need to use the col element.
>>
>> > colgroup>
>>
>> col.al
On Fri, 9 Mar 2007, Philippe Wittenbergh wrote:
> td:first-child+td+td+td {text-align:right;} will select the 4th
> column in good browsers (including IE7).
> For IE 6, you need to use the col element.
>
>
>
> col.alignRight {text-align:right;}
>
> Note that you have to put the 2 selectors
On Mar 9, 2007, at 10:31 AM, Rolf Mortenson wrote:
> I assume the good browsers don't recognize text-
> align for ?
No, they don't, nor should per css 2.1
http://www.w3.org/TR/CSS21/text.html#propdef-text-align
http://www.w3.org/TR/CSS21/tables.html#q4
Somehow curiously, per HTML 4.01, the col
> td:first-child+td+td+td {text-align:right;} will select the 4th
> column in good browsers (including IE7).
> For IE 6, you need to use the col element.
>
>colgroup>
>
> col.alignRight {text-align:right;}
>
> Note that you have to put the 2 selectors on separate lines, _not_
> grouping th
On Mar 9, 2007, at 7:30 AM, Rolf Mortenson wrote:
> What is the optimal way to align data in a very large table? - let's
> say you've got a few thousand rows, and 10 columns, and you want data
> in 3 of those columns to be aligned right (the rest align left). Is
> it preferable to give each td in
What is the optimal way to align data in a very large table? - let's
say you've got a few thousand rows, and 10 columns, and you want data
in 3 of those columns to be aligned right (the rest align left). Is
it preferable to give each td in those columns a class -- ? or is it better to use the