> The following rule has failed to reach the desired <a> in the following
> dl#contact dt#email dd a {border: 1px solid black}
> 

That is an incorrect path. The <dd> does not sit inside the <dt>. Instead,
the <dd> and the <dt> are siblings that share the same parent - the <dl>
(who I have heard is a very poor parent and doesn't look after his children
well at all!).

The correct path would be:
dl#contact dd a {border: 1px solid black}

Best to always draw a document tree if you get stuck, then it is easy to see
that these two elements sit side by side.

If you want to target the <a> element inside a specific <dd>, then you'd
have to add another class or id.

HTH

Russ
HTML element family councillor



******************************************************
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