Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

How can I get external stylesheets to work in svg in Firefox?

  • 1 èsì
  • 3 ní àwọn ìṣòro yìí
  • 13 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ dquattro

more options

Developing website in Visual Studio. I have a svg file containing css classes for fill, which are referenced in an external style sheet.

Works fine in IE. The svg graphic renders in Firefox; but, doesn't recognize the external fill color.

If I use an internal style sheet in the svg, it works fine in Firefox.

Developing website in Visual Studio. I have a svg file containing css classes for fill, which are referenced in an external style sheet. Works fine in IE. The svg graphic renders in Firefox; but, doesn't recognize the external fill color. If I use an internal style sheet in the svg, it works fine in Firefox.

All Replies (1)

more options

Additional detail on the question: Controlling the height and width of the svg content using the external stylesheet works fine in Firefox