Numbers displayed on header titles
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)
Выбранное решение
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.
Thank you. for your response