[WSG] Is this a good use of dl

2007-07-07 Thread Chris Price
On the W3C website they give a first example of a definition list with 
terms (dt) and definitions (dd) but then give another example where dt 
is a speaker and dd is the speech so they concede that it is legitimate 
where the logic is similar.


But does the following make sense and is it accessible?

It does validate.

h2Contacts/h2
   dl
   dt class=firstJohn Smith/dt
   dd class=first
   dl
   dtAddress:/dt
   dd
   p13 My Road
   br /MyTown
   br /MyCounty AB1 2CD
   /p
   /dd
  
   dtPhone/fax:/dt

   ddp01234 567 890/p/dd
  
   dtMobile:/dt

   ddp07890 123456/p/dd
  
   dtEmail:/dt

   ddpa href=[EMAIL PROTECTED][EMAIL 
PROTECTED]/a/p/dd
  
   dtskype:/dt

   ddp my skype/p/dd
   /dl
   /dd
   /dl

Kind Regards
--
Chris Price

Choctaw

[EMAIL PROTECTED]
http://www.choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the Eye of the Beholder
while Excellence is in the Hand of the Professional

~~~
-+- Sent on behalf of Choctaw Media Ltd -+-
~~~

Choctaw Media Limited is a company
registered in England and Wales
with company number 04627649

Registered Office:
Lonsdale Partners,
Priory Close,
St Mary's Gate,
Lancaster LA1 1XB
United Kingdom




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Is this a good use of dl

2007-07-07 Thread Web Standards

Hey Cris,

Well, I don't know man... but I think the list inside the list is just 
unnecessary. You could put the name inside dt and  general description 
in dd. You could use  br / or anything or else too... If I am not 
wrong, W3C says you can do that.


Well, that's just my opinion, let's see what the other members have to 
say about it.


See You,

Linuxer


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Is this a good use of dl

2007-07-07 Thread Chris Price

Web Standards wrote:

Hey Cris,

Well, I don't know man... but I think the list inside the list is just 
unnecessary. 
My reasoning for that is that everything is a description of the person 
but the street and city are descriptions of the address.


If I have the name as a term and then address as a description, the 
address elements then become descriptions of a description.


An alternative would have been to have Contact as a term and John Smith 
as a description then Address, Email etc. would be at the same level and 
there would be no sublist. That would be logical but not give me what I 
want.


Kind Regards
--
Chris Price

Choctaw

[EMAIL PROTECTED]
http://www.choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the Eye of the Beholder
while Excellence is in the Hand of the Professional

~~~
-+- Sent on behalf of Choctaw Media Ltd -+-
~~~

Choctaw Media Limited is a company
registered in England and Wales
with company number 04627649

Registered Office:
Lonsdale Partners,
Priory Close,
St Mary's Gate,
Lancaster LA1 1XB
United Kingdom




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Is this a good use of dl

2007-07-07 Thread Thierry Koblentz
 On Behalf Of Chris Price
 On the W3C website they give a first example of a definition list with
 terms (dt) and definitions (dd) but then give another example where dt
 is a speaker and dd is the speech so they concede that it is legitimate
 where the logic is similar.
 
 But does the following make sense and is it accessible?
 
 It does validate.
 
 h2Contacts/h2
 dl
 dt class=firstJohn Smith/dt
 dd class=first
 dl
 dtAddress:/dt
 dd
 p13 My Road
 br /MyTown
 br /MyCounty AB1 2CD
 /p
 /dd
 
 dtPhone/fax:/dt
 ddp01234 567 890/p/dd
 
 dtMobile:/dt
 ddp07890 123456/p/dd
 
 dtEmail:/dt
 ddpa
 href=[EMAIL PROTECTED][EMAIL PROTECTED]/a/p/dd
 
 dtskype:/dt
 ddp my skype/p/dd
 /dl
 /dd
 /dl

If you're willing to go with that many elements, why not using microformats?
http://microformats.org/wiki/hcard

---
Regards,
Thierry | www.TJKDesign.com






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***