Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Why does Firefox fail to link DIV IDs to External Style Sheets?

  • 1 antwoord
  • 2 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van the-edmeister

more options

The only way I can enable a style in Firefox is to use In Line Styles. In all major browsers (except Firefox), the following HTML enables a DIV ID to render the web page div content according to CSS in an external style sheet.

<div id="myExternalStyle">

Why does the above HTML succeed in all major browsers except Firefox?

The only way I can enable a style in Firefox is to use In Line Styles. In all major browsers (except Firefox), the following HTML enables a DIV ID to render the web page div content according to CSS in an external style sheet. <pre><nowiki><div id="myExternalStyle"></nowiki></pre> Why does the above HTML succeed in all major browsers except Firefox?

Bewerkt door cor-el op

Gekozen oplossing

In the "path to" the external style sheets, are you using \ rather than /?

The "slash" / is needed rather than the "back-slash" \.

Dit antwoord in context lezen 👍 2

Alle antwoorden (1)

more options

Gekozen oplossing

In the "path to" the external style sheets, are you using \ rather than /?

The "slash" / is needed rather than the "back-slash" \.