Is there a syntax in CSS declarations which 'wraps' classes/ids in a
parent condition?  I'm not asking this very clearly, but the idea is
similar to the Javascript syntax...

with  {
...
}

The purpose being, I find myself writing a lot of statements like the below

#navigation p {...}
#navigation #tabs {...}
#navigation #tabs ul li a {...}

Isn't there an easier/more efficient way to apply the parent selector
#navigation to all the different groups?

#navigation {
 p {...}
 #tabs{...}
}

Does anyone know if the above works, or if it has any browser support holes? 

I only ask because I know the people on this list can chew up this
question and spit it out like no one else :-)

Thanks,
-- 
Brian Duchek
=-=-=-=-=-=-=-=
e: [EMAIL PROTECTED]
w: new.inquiline.com
=-=-=-=-=-=-=-=
******************************************************
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