Search DaTutorials:  
HOME
CSS Tutorials
Articles
Basics
Backgrounds
Customizing
Formatting
General
Layouts
Link Effects
Navigation
Positioning
Rollovers
Text Effects
Search For a Tutorial
CSS Reference

Text Indentation


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 }

Copyright © 1998 Liam Quinn. All rights reserved.

     Bóle krÄ™gosÅ‚upa | Credit Cards | Layouts Myspace | MPAA | Канада иммиграциÑ
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp