+ 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>
2 Réponses
+ 6
I haven't tried this but it might work.
<body>
<center>
<ul>
<li>...</li>
<li>...</li>
<li>...</li>
</ul>
</center>
</body>
+ 5
if I'm right, the center tag is not supported anymore by HTML5 so I would suggest styling it with css