One thing that really bothers me about definition lists is that there isn't any way to group together the <dt>s and <dd>s that belong together.


Consider this: you want to put a border around all your individual terms, some of which might have multiple definitions. Using some pretty esoteric CSS3 selectors you might be able to do it, but for the most part, you're just out of luck.

What I'd like to see is another element allowed inside of <dl>s for the purpose of grouping. Let's call it <dli> and make the schemas for <dl> and <dli> be:

<!ELEMENT dl (dli|dt|dd)+>
<!ATTLIST dl
  %attrs;
  >

<!ELEMENT dli (dt|dd)+>
<!ATTLIST dl
  %attrs;
  >



Then you could have something like this:
<dl>
  <dli>
    <dt>Albatross</dt>
    <dd>A sea bird</dd>
    <dd>A tasty snack at the movies</dd>
  </dli>
  <dli>
    <dt>Swallow</dt>
    <dd>Coconut delivery system</dd>
  </dli>
</dl>

And easily style the list to be however you want, like a table, floating each definition as a box, etc.

My question for the group would be manyfold:
Is this even a worthwhile idea?
What would the process be for making such a change?



*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to