Previous Message
Next Message

RE: [css-d] Special characters in generated content

Sent by Saila, Craig on 31 March 2003 23:11


James Craig wrote:
> 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

CSS uses the Unicode character codes (ISO 10646):
<http://www.w3.org/TR/CSS2/syndata.html#escaped-characters>

I've got a DOM-based translator you're welcome to use:
<http://www.saila.com/usage/tips/examples/special_characters.html>
(You can select the character, and have its JS, HTML, and CSS code
appear; or you can enter in the entity code to find out what it should
be)

In your case, this would be the rule:
 p.cite:before {
   content: " \002014 ";
   }

-- 
Cheers,

Craig Saila
------------------------------------------
[EMAIL-REMOVED] : http://www.saila.com/
------------------------------------------
______________________________________________________________________
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

Possibly related: