I am having a problem getting Internet Explorer 7 to use an
external style sheet (CSS) for styling SVG in an XHTML document.

This is my XHTML document, served as text/html to satisfy IE7:

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="/test.css" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:svg="http://www.w3.org/2000/svg";
      xmlns:xlink="http://www.w3.org/1999/xlink";
      xml:lang="en">
<head>
    <object id="AdobeSVG"
classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object>
    <?import namespace="svg" implementation="#AdobeSVG"?>
</head>
<body>
<svg:svg width="45" height="40" version="1.1"
xmlns="http://www.w3.org/2000/svg";>
  <svg:rect class="c" x="5" y="10" width="40" height="30" />
</svg:svg>
</body>
</html>

And this is test.css:

rect { stroke: red; fill: blue }

Can anyone tell me what I am doing wrong?



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to