Re: [css-d] Ultra-specificity in the context of Adam Kalsey's CSS Tabs

2006-07-28 Thread Ingo Chao
Lorin Rivers wrote: > I can't get the color to change and this rule doesn't seem to be > working. Any ideas about what I'm doing wrong? > > Here's some sample code: > > body.section-2 benefits ul#menu li#nav-2 ul#subnav-2 li#benefits a { > color: white; > } > > > > >

[css-d] Ultra-specificity in the context of Adam Kalsey's CSS Tabs

2006-07-28 Thread Lorin Rivers
I want to take it step farther and have the sub-tab also be highlighted based on an additional body class. I can't get the color to change and this rule doesn't seem to be working. Any ideas about what I'm doing wrong? Here's some sample code: body.section-2 benefits ul#menu li#nav-2 ul#subnav-2