// References / CSS Text-align Property

Posted The: 24/03/2008 - AT: 1:58

Edited The: 15/08/2008 - AT: 20:32

text-align allows to align the text, in ealier versions of IE, this would effect such as DIVs as well. Actually the to center a given element in early IE, you would need to text-align:center; on its containing element, because margin: 0 auto; didn't work.

Possible Values

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

Inherited? YES

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:02:02

2 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.114195823669 seconds

Welcome Guest