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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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

  • 1 freagra
  • 3 leis an bhfadhb seo
  • 12 views
  • Freagra is déanaí ó 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