We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

SVG image not scaling

  • 6 отговора
  • 4 имат този проблем
  • 1 изглед
  • Последен отговор от 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

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