David Mennenoh
David Mennenoh

Reputation: 290

Firefox not displaying SVG

I have a page that uses SVG to make an image map.

Works fine in IE9 and Chrome but FireFox and Opera are cropping the images - though rollovers do still work.

The site is here: http://www.kollegetown.com

Anyone know why this might be happening?

Upvotes: 2

Views: 4425

Answers (1)

Erik Dahlström
Erik Dahlström

Reputation: 61026

Just add this (or something equivalent) to your stylesheet:

svg { 
  height: 100%;
  width: 100%;
}

Upvotes: 5

Related Questions