Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 1 件の返信
  • 2 人がこの問題に困っています
  • 8 回表示
  • 最後の返信者: 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?

この投稿は cor-el により に変更されました

選ばれた解決策

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

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

この回答をすべて読む 👍 2

すべての返信 (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" \.