+ 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

27th Apr 2020, 4:05 PM
Mark Heath
Mark Heath - avatar
11 Answers
+ 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?
29th Apr 2020, 12:52 PM
Mehnaz ✨
Mehnaz ✨ - avatar
27th Apr 2020, 4:58 PM
⁣𓆩 Anкΐτ soℓคnкΐ ♣️
⁣𓆩 Anкΐτ soℓคnкΐ ♣️ - avatar
0
Its an order or unorder list ???
27th Apr 2020, 4:14 PM
Md. Mursalatul Islam Pallob
Md. Mursalatul Islam Pallob - avatar
0
im guessing with bullet points it’s unordered?
27th Apr 2020, 4:23 PM
Mark Heath
Mark Heath - avatar
0
using <ul> </ul>
27th Apr 2020, 4:24 PM
Mark Heath
Mark Heath - avatar
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.
27th Apr 2020, 4:36 PM
Mark Heath
Mark Heath - avatar
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 ...
27th Apr 2020, 4:52 PM
Md. Mursalatul Islam Pallob
Md. Mursalatul Islam Pallob - avatar
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
27th Apr 2020, 4:53 PM
Mark Heath
Mark Heath - avatar
0
Try this in your css file: Ul,li { align: center; (or margin: 0 auto;) Text-align: center; }
29th Apr 2020, 10:58 AM
Amir Hossein mahdioun
Amir Hossein mahdioun - avatar
0
Use flex in css, its a way easier
29th Apr 2020, 3:37 PM
Zhiwa Rafa'at
Zhiwa Rafa'at - avatar