Re: [css-d] Basic confusion on syntax

2006-03-08 Thread Zoe M. Gillenwater
Els wrote: > Els wrote: > > >> the second element is a child of the first one. >> >> Some examples: >> 'ul#subNavlist li' means a element, that is a child of a >> element with id="subNavlist". >> '#subNavlist li' means a element, that is a child of any >> element with id="subNavlist". >> 'ul#

Re: [css-d] Basic confusion on syntax

2006-03-07 Thread Els
Els wrote: > the second element is a child of the first one. > > Some examples: > 'ul#subNavlist li' means a element, that is a child of a > element with id="subNavlist". > '#subNavlist li' means a element, that is a child of any > element with id="subNavlist". > 'ul#subNavlist' means a elemen

Re: [css-d] Basic confusion on syntax

2006-03-07 Thread Els
Scott Haneda wrote: > I don't even know how to search this one out, excuse the basic > question: > > #subNavlist li > ul#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 No, that last one is incurr

Re: [css-d] Basic confusion on syntax

2006-03-07 Thread Philippe Wittenbergh
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

[css-d] Basic confusion on syntax

2006-03-07 Thread Scott Haneda
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; } Can someone explain to me the difference in putting the html part you want before the css