Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 1 ответ
  • 2 имеют эту проблему
  • 10 просмотров
  • Последний ответ от 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" \.