X
點擊此處開啟此網站的行動版。

技術支援討論區

SVG image not scaling

已張貼

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

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56

更多資訊

FredMcD
  • Top 10 Contributor
4245 個解決方法 59390 個答案

What is the web address?

What is the web address?

提出問題者

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

Sorry... Here's the adress: appendixfotografi.se
cor-el
  • Top 10 Contributor
  • Moderator
17468 個解決方法 157871 個答案

選擇的解決方法

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

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

提出問題者

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...

''cor-el [[#answer-797329|said]]'' <blockquote> There is currently no width and height setting for this image. Setting the width to 100% via the Inspector fixes this for for me. </blockquote> That wasn't so hard, should have checked that one. Thanks a bunch! I guess Firefox isn't as forgiving as the others...
cor-el
  • Top 10 Contributor
  • Moderator
17468 個解決方法 157871 個答案

有幫助的回覆

You're welcome.

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

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

提出問題者

cor-el said

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

Yeah, it certainly does!

''cor-el [[#answer-797336|said]]'' <blockquote> You're welcome. That makes Firefox the perfect browser to check your code :wink: </blockquote> Yeah, it certainly does!

由 fredrik_b 於 修改