[thelist] css descendant selector confusion
Mark Henderson
morgoth at ispnz.co.nz
Tue Feb 5 01:31:37 CST 2008
Joel D Canfield wrote:
>> You have to start at the top after each comma.
> <snip>
>> div#people h2, div#people h3, div#people p {
>
> bingo; thanks. hoping for some shorthand, I guess
>
> joel
Depending on the other content inside div#people and the inheritance in
your CSS, you might be able to do:
div#people {color: #fff;}
which will make all elements inside div#people white.
>> A sample page:
>>
>> http://www.hardistyconstruction.com/2008_new/services.php
I didn't spend a lot of time looking at that and my sanity is hanging by
a thread at present, but there didn't appear to be anything resembling
your example. However, can I suggest you replace that image map with an
unordered list of text links for the navigation. Here's a good starting
point:
<http://css.maxdesign.com.au/listamatic/>
HTH
Mark
More information about the thelist
mailing list