+ 1

When I align a unordered list to the center, how do I align the bullets too?

I used <ul type=disk align="center"> <li> ...</li> <li> ...</li> <li> ...</li> </ul> and also tried <ul type=disk> <li align="center"> .... </li> <li align="center"> .... </li> <li align="center"> .... </li> </ul>

4th Mar 2017, 11:34 AM
Clarisse Karsh
Clarisse Karsh - avatar
2 Antworten
+ 6
I haven't tried this but it might work. <body> <center> <ul> <li>...</li> <li>...</li> <li>...</li> </ul> </center> </body>
4th Mar 2017, 2:43 PM
The Coding Sloth
The Coding Sloth - avatar
+ 5
if I'm right, the center tag is not supported anymore by HTML5 so I would suggest styling it with css
4th Mar 2017, 6:28 PM
RJP
RJP - avatar