Previous Message
Next Message

[css-d] Special characters in generated content

Sent by James Craig on 31 March 2003 23:11


I have the following CSS Rule

p.cite:before {
   content: " - ";
   }

It is this way (as a minus sign) because I originally wanted an em dash 
to be there but couldn't figure out a way to add it. I tried both the 
numeric entity (—) and the actual character (—). The former 
displayed the numeric entity instead of the character, and the latter 
display an unknown character (?).

How would you do this? Can you? Is it reliant on the right character set 
in the markup? If so, is this still a CSS question? I have UTF-8 
specified but have been thinking of changing this to overcome similar 
limitations regarding non-generated special characters in markup.

Thanks,
James Craig

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: