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

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

  • 1 reply
  • 3 have this problem
  • 1 view
  • Last reply by 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