Syntax: | text-indent: <value> |
---|---|
Possible Values: | <length> | <percentage> |
Initial Value: | 0 |
Applies to: | Block-level elements |
Inherited: | Yes |
The text-indent property can be applied to block-level elements (P, H1, etc.) to define the amount of indentation that the first line of the element should receive. The value must be a length or a percentage; percentages refer to the parent element's width. A common use of text-indent would be to indent a paragraph:
P { text-indent: 5em }
Maintained by John Pozadzides and Liam Quinn
Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.
Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples |
Copyright © 2004 Evrsoft Developer Network. Privacy policy - Link to Us |
Contact Evrsoft |