Lesson 11, unit 2

A student wants to align the list items to the center. When he uses CSS text-align: center it only centers the text and not the numbers. How can we get the list numbers to be aligned center?

Hi Nicole, try adding the style rule list-style-position: inside for the ordered list. That should make the list-item markers appear inside the content flow.

1 Like