Re: css, namespaces and default properties

Claus Wahlers:
>
> <ns1:element
>     class="main"
>     xmlns:ns1="http://namespace/1"
>     xmlns:ns2="http://namespace/2">
>
> element.main { color-rendering: optimizeSpeed; }

I don't know the answer to your question, but you should use attribute
selectors here:

  element[class~"name"] {...},

because the dot notation for classes is only intended for HTML. See REC-CSS2
5.8.3.

Christoph Päper

Received on Monday, 20 January 2003 21:50:10 UTC