Chrome Bullet Position on Center Align List

I have never noticed this before, but I’m trying to find a workaround. When a list (li) is centered, the bullets in Firefox position correctly, next to the text, while the bullets in Chrome still align to the left, leaving the text with separation.

Is there a workaround to this in CSS? Or is the best option to abandon the list format and add • before each list item?

all feedback appreciated.


Hi, I never noticed it before either. Probably because I always set them to list-style:none when they were centered.

Yes, just use list-style-position: inside; and it will give you the same results in Chrome and FF

<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Test Page</title>
ul {
  border:1px solid red;



  <li>list item</li>
  <li>list item</li>
  <li>list item</li>

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.