CSS TEXT-ALIGN - CSS3 Examples

CSS TEXT-ALIGN

Written by jon on 8:12 AM
The text-align property aligns the text in an element.

Inherited: Yes

Example
p {text-align: center}
Possible Values
Value Description
left Aligns the text to the left
right Aligns the text to the right
center Centers the text
[string] Specifies a string around which cells in a table column will align. Only applies to table cells. If used for other element types, it will be treated as as “left” or “right” depending on the current language writing direction (”left” for English.)
inherit Explicitly sets the value of this property to that of the parent.
justify justified text

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS TEXT-ALIGN ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :