+ 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.

7th Aug 2019, 9:35 PM
CeePlusPlus
CeePlusPlus - avatar
2 Antworten
+ 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!! 💪😜
7th Aug 2019, 10:02 PM
Eze
+ 4
@Heracles Exxequiell thx!
7th Aug 2019, 10:05 PM
CeePlusPlus
CeePlusPlus - avatar