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:
<DIV CLASS="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.
- Household cleaners
- Computers and computer accessories
- Clothes
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of
the Open Content License and the Open Publication License.
Contents may be redistributed or republished freely under these terms so long as credit to the original creator and
contributors is maintained.
InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050
More information can be found at the
InMotion Hosting Main Site
|
|
|