Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Build a Responsive Website Responsive Design Vector Graphics (SVG)

10,980 Points

svg fallback not working in IE

I'm using this technique for a project, and it doesn't seem to work in IE 8 and below. I have the same exact code as the video but I can't get it to work. HELP!

IE 8 just gives me an error page with this link: http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd

2 Answers

Joe Hirst
Joe Hirst
Courses Plus Student 6,489 Points

Hi Louie,

Have you tried Alexey Ten’s method?

It would look something like:

<svg width="150" height="150">
<image xlink:href="mysvg.svg" src="mysvg.png" width="150" height="150" />

Maybe this link will help?

10,980 Points

I tried everything, even that one. Does it make a difference if I'm checking with IE10 but changing it to preview IE8 via inspect element?