W3C home > Mailing lists > Public > www-svg@w3.org > March 2010

Re: What namespace declaration for included svg

From: Jeff Schiller <codedread@gmail.com>
Date: Mon, 22 Mar 2010 12:52:35 -0600
Message-ID: <da131fde1003221152o52318270i709ce5e24822e1c9@mail.gmail.com>
To: gerald tevreden <gesttel2@versatel.nl>
Cc: www-svg@w3.org
You might find more help at the Yahoo! svg-developers mailing list,
since this list is for SVG specification discussion.

I could be wrong, but I didn't think browsers that supported
svg-as-background-image would allow links since it's on the
background.  If you want something that the user interacts with, I
would suggest making these foreground images (embed inline or
reference with <object> tag).

If I'm wrong, you need to make sure you use the xlink: prefix on link
element href attributes:

<a xlink:href="foo.html">...</a>


On Mon, Mar 22, 2010 at 12:40 PM, gerald tevreden <gesttel2@versatel.nl> wrote:
> I have a working svg defined as background image in my css ffile. So
> the svg gets displayed, but the link inside doesn't function.
> In my html this is my declaration:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.
> w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> And this my svg declaration:
> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org
> /1999/xlink">
> <?xml-stylesheet href="style.css" type="text/css"?>
> Can someone enlighten me about the right declaration.
> Regads,
> Gerald
Received on Monday, 22 March 2010 19:00:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:20 UTC