W3C home > Mailing lists > Public > www-html@w3.org > October 2003

Re: XHTML2 dt/dd Nesting

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Mon, 6 Oct 2003 07:41:41 +0100
To: William F Hammond <hammond@csc.albany.edu>
Cc: Alexander Savenkov <w3@hotbox.ru>, www-html@w3.org
Message-ID: <20031006064141.GB32007@ophelia.goddamn.co.uk>
On Sun, Oct 05, 2003 at 02:09:49PM -0400, William F Hammond wrote:
| In particular, it is both correct and sensible for the visual
| effect of "hanging indentation" to use:
|   <dl>
|     <dd>
|       <p>...</p>
|       <p>...</p>
|       ...
|     </dd>
|   </dl>

Huh? What have you been smoking?

It is both correct and sensible for the visual effect of "hanging 
indentation" to use:

<div style="margin-left:2em;">
  <p>...</p>
  <p>...</p>
</div>

This is valid HTML 4.0 and 4.01, valid XHTML 1.0, 1.1 and 2.0 (according 
to most recent drafts) and, if you were to move the styling into a 
<style>...</style> element at the top, would also be valid HTML 3.2.

Whatsmore, it is the right way of doing things.

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?id=132

Received on Monday, 6 October 2003 02:41:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:58 GMT