On May 25, 2005, at 8:32 PM, Andrew Krespanis wrote:

On 5/24/05, Ben Curtis <[EMAIL PROTECTED]> wrote:

<dl class="postalAddress">
        <dt>Canada</dt>
        <dd class="company">In The Game, Inc.</dd>
        <dd class="division">Customer Service</dd>
        <dd class="street1">135 West Beaver Creek Road Box #604</dd>
        <dd class="city">Richmond Hill</dd>
        <dd class="state">ON</dd>
        <dd class="postalCode">L4B 1C0</dd>
</dl>

<picky type="semantics">
I think that one would have to qualify as improper use of a <dl>.
The method I use to decide on the appropriate use of <dl> is to say
'equals' in between the <dt> and each <dd>.
...
</picky>


Agreed that it's imperfect, and your comment is not terribly picky -- this is an ambiguous topic at best. A) I was merely supporting another's suggestion of using such markup, and b) I haven't ventured much into this space and haven't come up with something semantically closer to what I want that allows me to style it the way the designer and client want.

I think the stronger way to determine if a definition list should be applied is: in your group of related elements, are they all equal players that relate in the same way to a single item or term?

You choose a narrow definition of "definition" so that your "relate in the same way" is always "equals." I have chosen to be a bit more broad, and have used <dl>s to create breadcrumbs and other subnav blocks, where each element in the list relates to a title for the list that I often hide. I think in the future I may do something more akin to this:

<div class="subnav">
        <h2>subnav stuff</h2>
        <ul>
                <li><a href="here.html">Here</a></li>
                <li><a href="there.html">There</a></li>
                <li><a href="somewhere.html">Somewhere Else</a></li>
        </ul>
</div>

...which seems more correct, though less novel than the dl did when I first started using it.

Thanks, Andrew.

--

        Ben Curtis : webwright
        bivia : a personal web studio
        http://www.bivia.com
        v: (818) 507-6613



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

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to