+ 2
Is there a way?
Soooo, i am working on a new website(it's far from being finished) and i'm starting with the about me page. But there's a problem. When I align all of my text and make an ordered list, the numbers are too far from the text. Is there a way to put the numbers close to the text? https://code.sololearn.com/W1Z0J1qpGrTs/#html PS: This is not the real code.
2 odpowiedzi
+ 3
You can use inline-block. In this way, text-align: center will center the ol block and not just the text.
ol{
display: inline-block;
}
good luck!! 💪😜
+ 4
@Heracles Exxequiell
thx!