W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 1999

Re: indenting

From: Joan Piroch <d4951@sccoast.net>
Date: Tue, 07 Dec 1999 12:21:10 -0500
Message-Id: <2.2.32.19991207172110.006b2768@sccoast.net>
To: Jamie Fox <jfox@fenix2.dol-esa.gov>
Cc: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
At 03:13 PM 12/6/99 -0500, Jamie Fox wrote:
>I want to indent sections of a document without using spaces or some other 
>cheat.  I want to do something similar to what <blockquote> does.  Will 
><DIR> do it and how will it hold up on older browsers?  Thanks for your 
>help.
>
>-Jamie Fox


>>CSS is what you want to use here. Something such as the following:


div.section1 {
             margin-left:20px
             }

in the head section or in a linked style sheet.


Then: <div
      class="section1">

in the code.

This will "degrade gracefully" in older browsers, although it will NOT be
indented.


HTH

Paul
Received on Tuesday, 7 December 1999 12:24:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:46 GMT