Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Lines and Paragraphs > Indenting

Indenting a Section of the Page

To indent more than one paragraph we'll use the same style as we set in the previous example. Put this code in the <HEAD> section of your page:

<STYLE TYPE="text/css">
<!--
.indented
 {
 padding-left: 50pt;
 padding-right: 50pt;
 }
-->
</STYLE>

Then we'll use the indented class in a <DIV ...> element:

<DIVCLASS="indented">
Stuff In section
</DIV>

Which gives us an indented section like this:

Household Hazardous Waste

These items can be brought to the recycling center for redistribution. This is much better than throwing them out.

Indenting the Whole Page

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com