David wrote:

> On Fri, 21 Apr 2006 14:15:50 -0400, Marc Luzietti wrote:
> 
> > Is there a setting in CSS that allows you to vertically 
> align decimals 
> > in tables? 
> 
> Not in CSS, Marc. HTML has the 'align=char' attribute for 
> table cols, viz:
>   <COL align="char" char=".">
> But browser support is poor or non-existent.
> 
> A CSS solution might be 'text-align: right;' with a monospaced font.
> You will need the same number of decimals on every row, though.
> 
> Cordially,
> David

CSS2 allowed for aligning text on a string [0], however, that seems to have 
been deprecated in CSS2.1 and I have no clue which, if any, browsers, ever 
supported it in the first place.

Might be interesting to test.

Ron

[0] http://www.w3.org/TR/REC-CSS2/tables.html#column-alignment
______________________________________________________________________
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