text-align

horizontal alignment of text in the element

Example

1

Description

horizontal alignment of text in the element

Values

Value Description
Values
centercenters the text
end
justifystretches whitespace to fill the line with text
leftaligns text to the left margin
rightaligns text to the right margin
start
-webkit-auto
-webkit-center
-webkit-left
-webkit-right