Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Numbers displayed on header titles

  • 2 réponses
  • 1 a ce problème
  • 4 vues
  • Dernière réponse par 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.

Solution choisie

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.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (2)

more options

Solution choisie

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