Thierry Koblentz wrote:
They're not really changing the DOM (at least not IMO).  You can't add
tags and structure to the HTML with CSS - you can only change the value
of text nodes (and then, only by adding to them).

AFAIK, this is not changed either. The added content is purely
*presentational*.

<span class="negative">200</span>

With css for one page
.negative:before {content: '-'}

And for the other page,
.negative:before {content: '(';}
.negative:after {content: ')';}

I'm not sure this a good example as this added content is only served to a
few users...

Also, that leaves the first type of negative numbers indistinguishable from positive numbers when CSS is turned off. I think in that case it would be better to generate the numbers with the - or ( ) characters in the backend and have them part of the HTML source.

--
David
[email protected]
authenticity, honesty, community
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to