HomePlansOrderNetworkSupportManualsWeb ToolsAbout UsCornerstone HostingCornerstone Hosting
rib

CSS Index ~ CSS Structure ~ CSS Properties

Text Alignment

Syntax: text-align: <value>
Possible Values: left | right | center | justify
Initial Value: Determined by browser
Applies to: Block-level elements
Inherited: Yes

The text-align property can be applied to block-level elements (P, H1, etc.) to give the alignment of the element's text. This property is similar in function to HTML's ALIGN attribute on paragraphs, headings, and divisions.

Some examples follow:

H1          { text-align: center }
P.newspaper { text-align: justify }

 

CSS Index ~ CSS Structure ~ CSS Properties

Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.


Home | Plans & Prices | Order Forms | Our Network | Customer Support | Online Manuals | Webmaster Tools | About Us
Acceptable Use Policy | Terms Of Service | Privacy Statement | Contact Us  
Copyright © 2002 Cornerstone Hosting All rights reserved.