CSS Text-align Property

Posted The: 24/03/2008 At: 0:58

Last Edited: 15/08/2008 At: 18:32

text-align allows to align the text.

In ealier versions of IE, this would incorrectly effect elements such as DIVs as well. Text-align was, and still is being used by some web-designers to Center the layout in older browser versions.

Possible Values

  • left (Default)
  • center
  • right
  • justify
body {
  text-align: center;
}

Inherited? YES!

Comments: [0]

© Brugbart Webdesign