Aha, I get it. So I would use ul#navmenu only if my ul tag has the  
navmenu attribute explicitly assigned to it. Now it makes complete  
sense. Thanks, Ann. Also thanks to Michael Geary and Brian Cummiskey.
--
Dean Champeau
Champeau Services
86 E Fox Point Drive, Appleton WI 54911
Phone 920/731-5474
Cell 920/915-2151
Fax 267/377-1002
[EMAIL PROTECTED]
www.champeauservices.com


On Sep 26, 2006, at 12:06 AM, Ann Adamcik wrote:

> >From: Dean Champeau <[EMAIL PROTECTED]>
> >
> >Can someone explain the difference between the following two  
> selectors?
> >
> >ul#navmenu
> >#navmenu ul
>
> The first selects the specific unordered list that has the id  
> navmenu (e.g. <ul id="navmenu">).
> The second selects any/all unordered lists that are descendants of  
> #navmenu (e.g. <div id="navmenu">...<ul>...</ul>...</div>).
>
> -Ann
>
>
>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to