Re: [suggestion] Allow DIV inside any element

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 UTC