HTML and CSS Reference
Figure 11-8 Text centered and justified.
Initial value: 0 | Inherited: Yes | Applies to: Block Containers | CSS2.1
Browser support: IE 3+, Firefox 1+, Chrome 1+, Opera 3.5+, Safari 1+
You can use text-indent to apply an indentation to the first line of text in a block container, using either a unit
of length such as pixels and ems, or a percentage that is relative to the width of the containing block.
If, like me, you were taught at school to always indent a new paragraph—which seems to be old-fashioned
now—you could use the following rule set to indent all <p> elements: