Posted by rossz on 09/20/05 09:02
My company decided to do a version of their website targeted to the U.K.
So in preperation for that I started going through the code (it's PHP
based) to locate all the dollar signs ($) and define a currency class
that automatically puts in the currency symbol, e.g.
span.currency:before {
content: "$";
}
This way I could quickly slap in a British Pound or Euro symbol for a
site-wide change. Except you can't do this:
content: "£";
It displays exactly that -- not converting it to the proper character.
So how do you specify entities in css content?
--
Rossz
Navigation:
[Reply to this message]
|