This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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?

  • 1 (رد واحد)
  • 2 have this problem
  • 8 views
  • آخر ردّ كتبه 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?

Modified by cor-el

الحل المُختار

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

الحل المُختار

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

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