On Mar 8, 2006, at 1:24 PM, Scott Haneda wrote: > I don't even know how to search this one out, excuse the basic > question: > > #subNavlist li { > display: inline; > list-style-type: none; > float:left; > } > > ul#subNavlist { > margin: 0; > padding: 0; > }
Bookmark this page <http://gallery.theopalgroup.com/selectoracle/> In your case, the first selector translates as ' a <li> that is descendant of any element with an ID attribute of #subNavlist', the second on means 'an <ul> with an ID of subNavlist'. > Can someone explain to me the difference in putting the html part > you want > before the css name, versus after: > ul.myname > myame.ul Those are not the same thing at all ul.myname --> ul with a class attribute of 'myname' myame.ul--> an element 'myame' with a class attribute of 'ul' Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ 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/