Re: Refering to CSS elements

Philip Mackie wrote:
> I'm using a seperate CSS file for the styling of all my SVG elements, 
> such as
> {
>     fill: red;
> }
> <polygon class="foo" ....
> I've noticed that it seems to be case sensitive, i.e. if the class is 
> "Foo", it doesn't find the CSS element. Is this correct?

Yes. CSS case-sensitivity varies according to the host language 
case-sensitivity. In other words, it's case insensitive for HTML and case 
sensitive for anything XML, such as SVG.

Robin Berjon <>
Research Engineer, Expway
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488

Received on Thursday, 27 March 2003 11:51:22 UTC