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.

詳しく学ぶ

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

Numbers displayed on header titles

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 7 回表示
  • 最後の返信者: sta008

more options

Dear eminent helpers,

Currently when i am trying to display this website www.esma.europa.eu, numbers are displayed next to the headers title. However, when i display on IE or Chrome, i don't have this bug, issue. This bug appeared with the installation of the latest updates. My current Firefox version is 33.0 .

Do you know how this issue could be generated ? And how could it be fixed? Should I change some settings on Firefox ?

Thank you in advance for your help.

Dear eminent helpers, Currently when i am trying to display this website www.esma.europa.eu, numbers are displayed next to the headers title. However, when i display on IE or Chrome, i don't have this bug, issue. This bug appeared with the installation of the latest updates. My current Firefox version is 33.0 . Do you know how this issue could be generated ? And how could it be fixed? Should I change some settings on Firefox ? Thank you in advance for your help.

選ばれた解決策

Weird! There is a typo in the site's style sheet that is causing Firefox to convert a normal bulleted list to a numbered list:

ol,ul,ul,ul li{list-style:list-style-type;}

Normally, you would see list-style:none (or list-style-type:none) for a menu, both of which are interpreted as list-style-type:none, since the first parameter after list-style: is the list-style-type.

So Firefox is interpreting the typo text as:

list-style-type:list-style-type

Which is not a valid value for list-style-type. But Firefox appears to default to decimal numbering when it receives an invalid list-style-type. You can see this if you assign a list item this rule:

list-style-type:asdf-invalid-nosuch

Of course, you can "hack" the page to resolve this, but the site should clean up its style sheet and someone should research why Firefox has this behavior -- even if it's a sensible behavior for ordered lists, which default to decimal numbering, it does not seem like a sensible behavior for unordered lists, which default to bullets.

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

すべての返信 (2)

more options

選ばれた解決策

Weird! There is a typo in the site's style sheet that is causing Firefox to convert a normal bulleted list to a numbered list:

ol,ul,ul,ul li{list-style:list-style-type;}

Normally, you would see list-style:none (or list-style-type:none) for a menu, both of which are interpreted as list-style-type:none, since the first parameter after list-style: is the list-style-type.

So Firefox is interpreting the typo text as:

list-style-type:list-style-type

Which is not a valid value for list-style-type. But Firefox appears to default to decimal numbering when it receives an invalid list-style-type. You can see this if you assign a list item this rule:

list-style-type:asdf-invalid-nosuch

Of course, you can "hack" the page to resolve this, but the site should clean up its style sheet and someone should research why Firefox has this behavior -- even if it's a sensible behavior for ordered lists, which default to decimal numbering, it does not seem like a sensible behavior for unordered lists, which default to bullets.

more options

Thank you. for your response