Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

SVG image not scaling

  • 6 ответов
  • 4 имеют эту проблему
  • 6307 просмотров
  • Последний ответ от fredrik_b

more options

Hello.

I'm trying to figure out why Firefox won't scale my svg image (the logo) properly. Here's the website. It works in Safari, Chrome and, with added CSS, even in IE. So what's the deal, why won't it scale in Firefox?

Thanks! Fredrik

Выбранное решение

There is currently no width and height setting for this image. Setting the width to 100% via the Inspector fixes this for for me.

Прочитайте этот ответ в контексте 👍 1

Все ответы (6)

more options

What is the web address?

more options

Sorry... Here's the adress: appendixfotografi.se

more options

Выбранное решение

There is currently no width and height setting for this image. Setting the width to 100% via the Inspector fixes this for for me.

more options

cor-el said

There is currently no width and height setting for this image. Setting the width to 100% via the Inspector fixes this for for me.

That wasn't so hard, should have checked that one. Thanks a bunch! I guess Firefox isn't as forgiving as the others...

more options

You're welcome.

That makes Firefox the perfect browser to check your code :wink:

more options

cor-el said

You're welcome. That makes Firefox the perfect browser to check your code :wink:

Yeah, it certainly does!

Изменено fredrik_b