Ted Drake wrote:

<dl>
<dd><img src="../images/rodriguezLO.jpg" alt="Photo of Gina Rodriguez" height="108" 
width="72"></dd>
<dt>Gina Rodriguez</dt>
<dd>Account Manager</dd>
<dd>Ext. 2412</dd>
</dl>

Ted, I don't think your dl's are very semantic, though they could (and should) be. A dl is a list (even a list of one, which works for dl's, but generally not ul's nor ol's) of pairs: a group of terms followed by a group of datum. In your example, Gina is paired with her job title and her extension, which is a very good use a dl (though adding a class and/or title would probably improve it even more, that's a separate discussion); however Gina's picture is unassociated data.

Just to restate my general opinion regarding your suggestion of dl's for Collin's mark-up, I'm in 100% agreement. The only failing here is that you need to use separate dl's for each item. This will be corrected in XHTML 2 with the addition of the data item (<di>)[1] container to group the dt's and dd's together and provide a much needed CSS hook.

[1] http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-list.html#edef_list_di

#salescontacts dt {position:relative; margin: 0; font-weight:bold;}

Just curios, but why "position:relative"? Is it to rectify an IE float bug?
******************************************************
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