Questions tagged [text-align]

a property of CSS which determines the alignment of the text

The text-align property, as defined in CSS, can have one of the five values: left, right, center, justify and inherit.

The default value depends on the used locale and is left for languages in which text is written from left to right and right for languages in which text is written from right to left.

586 questions
-2
votes
3 answers

How to Center a list of inline-block items, while aligning the content of the list to the Left?

I have a list of inline-block elements inside a parent element. I wont to center the parent element while keeping the child elements aligned to the left.