Re: What namespace declaration for included svg

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>

Regards,
Jeff

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