搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改