This is a legacy document, and retained on the site in order to avoid link rot. The content is likely no longer (a) accurate, (b) representative of the views and philosophies of current site management, or (c) up to date.

CSS Example: Indent

CSS Indentation

Occasionally, authors would like to duplicate the typography convention of a 'first line indent', which is often used in novels. With CSS, this becomes as easy as specifying the following ruleset in your CSS file:

 P.indent { text-indent: 1em; }

I have it on good authority that the European convention for first line indents begins, not with the first paragraph after a headline, but with the succeeding paragraph. Therefore, this paragraph has been added to demonstrate the technique.

Occasionally, authors would like to duplicate the typography convention of a 'first line indent', which is often used in novels. With CSS, this becomes as easy as specifying the following ruleset in your CSS file:

Sue Sims