koober
koober

Reputation: 166

svg xlinks not working as svg object in html

I have numerous a elements within the svg linking to other pages. The svg loads into a browser as a standalone and the links work fine. But as an object in an html page, nothing.

The problem is exactly as if I had xmlns:xlink="http://www.w3.org/1999/xlink" missing from the svg, but it's there!

Upvotes: 1

Views: 348

Answers (1)

koober
koober

Reputation: 166

Bizarre, I have found the problem.

<object data etc.><span>something</span></object>

SVG xlinks work ok, but with

<object data etc.></object> <span>something</span> 

xlinks dont work. Why this is so, I cannot figure out.

Upvotes: 0

Related Questions