How can I align an <ul> 2 d center? tried puttin d align element in d <ul> tag, it only brot d texts 2 d center without d bulet | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How can I align an <ul> 2 d center? tried puttin d align element in d <ul> tag, it only brot d texts 2 d center without d bulet

10th Nov 2020, 4:20 PM
Ogundana Ayomide
Ogundana Ayomide - avatar
2 Answers
+ 6
In CSS remove the standard bullet points with list-style and add pseudo class before: to affix the desired character to be aligned with the <li> in the <ul>?
10th Nov 2020, 6:19 PM
::sк::
::sк:: - avatar
0
The bullet point are a function of the <ul> tag, so aligning the up tag to the centre will bring everything to the centre including the bullet points
16th Nov 2020, 9:40 AM
Benjamin Faruna
Benjamin Faruna - avatar