[Home] [By Thread] [By Date] [Recent Entries]


Robert Koberg wrote:
> just escape the backslash. I have only used this in IE, so test in other 
> browsers...
> 
> <style>
>
> myns1\:myelement {
> color:purple;
> }
> 
> myns2\:myelement {
> color:#fff;
> }
> 
> </style>

Baaaaah. Matching prefixes instead of namespaces. Bad bad bad. You ought 
to declare the namespace with an @namespace rule, and then use 
pfx|localName.

-- 
Robin Berjon

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member