W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: [suggestion] Allow DIV inside any element

From: Maurice <maurice@thymeonline.com>
Date: Mon, 30 Apr 2007 17:31:00 -0400
To: HTML Working Group <public-html@w3.org>
Message-ID: <C25BD854.235F%maurice@thymeonline.com>

On 4/30/07 5:27 PM, "M. Jackson Wilkinson" <jackw-w3c@jounce.net> wrote:

> 
> Andrew Stibbard wrote:
>> Marat Tanalin wrote:
>>> 
>>> I suggest to allow using DIV element inside any element (probably except
>>> tables).
>> 
>> This seems purely presentational, and I think would be best kept in the
>> domain of CSS (using :nth-child or :nth-of-type for styling ranges comes
>> to mind).
>> 
> 
> I'm not so sure that it is purely presentational.  In the current DL
> model, there is no obvious indication of hierarchy between a DT and a
> DD, where there should be.
> 
> I don't think that being able to group using a DIV is necessarily the
> right solution, but I've come up with two things that could help after
> thinking briefly about it.  I figure that many have hashed this out time
> and again, but maybe there's something useful here:
> 
> 1. Use LI
> 
> We use list items in the other two forms of lists to group associated
> content in one way or another, and allowing for the LI to be used in a
> DL context would make a lot of sense and serve this purpose directly.  ie:
> 
> <dl>
> <li>
> <dt>Item 1</dt>
> <dd>Item 1's associated content</dd>
> </li>
> <li>
> <dt>Item 2</dt>
> <dd>Item 2's associated content</dd>
> </li>
> </dl>


I'd vote for this one.


-- 
::   thyme online ltd
::   po box cb13650  nassau  the bahamas
::   website: http://www.thymeonline.com/
::   tel: 242 327-1864  fax: 242 377 1038
Received on Monday, 30 April 2007 21:31:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:53 GMT