text-align | WebReference

text-align

Name: text-align

Description: Specifies the alignment of inline content within a block-level element

Browser Compatibility: IE 3+ / NN 4+ / O 3.5+

Inherited: Yes

Values:

Code Example:

p {text-align: center;}