Forum Moderators: not2easy

Message Too Old, No Replies

TABLES and CSS: Currency / Decimal Aignment

W3/CSS2 Specification Example Doesn't Work

         

lexipixel

2:07 pm on Apr 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



..(alignment)

I'm trying to use CSS to align characters within a TD cell to align on the decimal point for monetary data using a w3 example:

From:
[w3.org...]

TD { text-align: "." }
TD:before { content: "$" }

This doesn't work and throws a CSS error at [jigsaw.w3.org...]

Is the text-align: <string> deprecated or gone?

thx

Robin_reala

3:07 pm on Apr 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Both - it's in CSS2 [w3.org] but not in CSS2.1 [w3.org] - I think it was removed because of a complete lack of implementations.

For what it's worth, it's still in CSS3's text module [w3.org], but I wouldn't expect to see any implementations soon and the text module is still in a rather extreme state of flux.

lexipixel

8:03 pm on Apr 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks RR.