Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i 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.

Læs mere

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

  • 1 svar
  • 3 har dette problem
  • 13 visninger
  • Seneste svar af 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.

Alle svar (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