[Home]Indent paragraphs

HomePage | RecentChanges | Preferences | Newbie Help

To indent the first line of paragraphs, use Cascading Style Sheets. For individual paragraphs, use this:

 <p style="text-indent: 5em;">Blah blah frogs.</p>

You might want to change 5em to another value, like 20px or 6em.

To indent all paragraphs, put this in your head:

 <style type="text/css"><!--
 p { text-indent: 5em; }

If you want to indent the entire block of a paragraph, use {{margin-left}} instead of {{text-indent}}.

For more information about Cascading Style Sheets, go to CSS FAQs or do a search on [Google].

HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited May 6, 2002 8:10 pm (diff)

This FAQ is happily hosted by Betadome Digital Media