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

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

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?

Modified by cor-el

Chosen solution

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

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

Read this answer in context 👍 2

All Replies (1)

more options

Suluhisho teule

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

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