Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Why are the unordered bullet lists displaying as ordered, numbered lists?

  • 5 trả lời
  • 8 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi aubreybirowski

more options

I'm a front-end web developer and whenever I have an unordered list <ul> on a website, the new version of Firefox is changing them from bullets (which is the standard for unordered lists) to numbers (which is the standard for ordered lists, or <ol>). Is there a way that this can be fixed? Those are Web standards and all of the sites we have are using <ul> so it will be very difficult for us to go back through and give each site a list-style-type.

I'm a front-end web developer and whenever I have an unordered list &lt;ul&gt; on a website, the new version of Firefox is changing them from bullets (which is the standard for unordered lists) to numbers (which is the standard for ordered lists, or &lt;ol&gt;). Is there a way that this can be fixed? Those are Web standards and all of the sites we have are using &lt;ul&gt; so it will be very difficult for us to go back through and give each site a list-style-type.

Được chỉnh sửa bởi cor-el vào

Giải pháp được chọn

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

You can right-click the list item and use Inspect Element to open the Inspector and check what rules are applied to the UL and LI elements.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (5)

more options

Apologies, I have the code listed in the question so that's why the spacing is so weird. All of the sites we're using are unordered lists.

more options

This can happen if you use an invalid property value for the list-style-type property.

See:

more options

I understand that it's an invalid property, the property is not defined at all. The web standard is that if you have an unordered list (ul) then it uses bullet points, and if you use an ordered list (ol) then it uses numbers. This is completely backwards on the new update, and since we develop over 400 websites, it will be a waste of our time to go back through every site and add a style type.

more options

Giải pháp được chọn

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

You can right-click the list item and use Inspect Element to open the Inspector and check what rules are applied to the UL and LI elements.

more options

I think I found the issue. The programmer who had made the bulleted lists was not closing the li tag after the element. Thanks for your help!