+ 2
HTML Lists
Using HTML I’m having trouble centering (or generally placing) my list I did a list of the items and they all have the bullet point, but it defaults to the left. I tried the align=“center” but fornthe list not sure where to place it sonit works. Any helpnwould be appreciated
11 Respuestas
+ 5
Mark Heath Why don't you add your code with your question so that we can have a look on it and can say exactly what went wrong?
+ 1
Mark Heath please check this
and try yourself..
https://www.w3schools.com/tags/tag_ul.asp
https://www.w3schools.com/html/html_lists.asp
0
Its an order or unorder list ???
0
im guessing with bullet points it’s unordered?
0
using <ul> </ul>
0
Tried the <center> </center> but the bullets stay to the left and the text portion goes center. So, somewhat helped but now that issue.
0
Use css styling system ...
Its more easy and effective . ....if you are new to HTML than complete the html section first .... then go to css ....
.
Happy coding sir ...
0
thanks for the help, ill just move on with the examples for now and worry about this later. i have no idea what CSS has to offer. im just going through the examples in learn and noticed my list couldnt be easily centered with its bullets
0
Try this in your css file:
Ul,li { align: center; (or margin: 0 auto;)
Text-align: center;
}
0
Use flex in css, its a way easier