Headless wrote in news:stnigvg8reavv4434n9q3spn5csli3c55u (AT) 4ax (DOT) com:
Quote:
Are character references allowed in generated content, in other
words should they be parsed by a UA? |
<URL:http://www.w3.org/TR/CSS2/syndata.html#q24>
# Note. In HTML 4.0, numeric character references are interpreted in
# "style" attribute values but not in the content of the STYLE
# element. Because of this asymmetry, we recommend that authors use
# the CSS character escape mechanism rather than numeric character
# references for both the "style" attribute and the STYLE element.
# For example, we recommend:
#
# <SPAN style="voice-family: D\FC rst">...</SPAN>
#
# rather than:
#
# <SPAN style="voice-family: Dürst">...</SPAN>
and <URL:http://www.w3.org/TR/CSS2/syndata.html#escaped-characters>
# In CSS2, a backslash (\) character indicates three types of
# character escapes.
Thus: If you want unicode references you should use the hexadecimal
numeric value, prepended by \. Example:
ul li a:before {
content: "\25B9\00A0";
}
--
Arve | http://www.bersvendsen.com/ | http://www.virtuelvis.com/
Lyd i nettbasert reklame? Nei takk!
http://www.bersvendsen.com/stillhet/