Re: HTML question

Walter Ian Kaye (walter@natural-innovations.com)
Thu, 8 May 1997 14:14:32 -0700


Message-Id: <v0310280eaf97ef65f737@[205.149.180.135]>
In-Reply-To: <9259041608051997/A51001/RIT1/11B544041700*@MHS>
Date: Thu, 8 May 1997 14:14:32 -0700
To: "SINGH SATWINDER (516) 434-6274" <satwinder.singh@reuters.com>,
From: Walter Ian Kaye <walter@natural-innovations.com>
Subject: Re: HTML question
Cc: David Ryder <david.ryder@reuters.com>,
        David Schleifer <david.schleifer@reuters.com>,

At 9:04p +0000 05/08/97, SINGH SATWINDER (516) 434-6274 wrote:

 > The construct is in following format in the document
 >
 > <DL>
 > This is test1
 > <DL>
 > This is test2
 > <\DL>
 > <\DL>

It looks as though "they" were trying to achieve a 2-level indent, using
tags which were not really meant for that purpose. Even so, they should
have included the <DD>s... ;)

I think the nicest way to handle it would be to assume the text is preceded
by a <DD>:

 <DL>
    <DD>This is test1
    <DL>
       <DD>This is test2
    </DL>
 </DL>

The author was most likely trying to achieve the following effect:

Lorem ipsum dolor amet
ipsum amet lorem

    This is test1
        This is test2

Lorem ipsum dolor amet
ipsum amet lorum

__________________________________________________________________________
  Walter Ian Kaye <boo_at_best*com>    Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter