为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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