1
#header {
   width:100%;
   height:200px;
}

#theme.theme1 .handle {
   background:blue; 
} 

#header.noback { 
   background:none;   
}

why doesn't the last declaration override here ?

http://jsfiddle.net/5VnAs

bushdiver
  • 751
  • 3
  • 12
  • 21

1 Answers1

2

This is due to CSS specificity. If you change the last rule to

#header.noback.handle{ 
   background:none;   
}

jsFiddle example

it works

j08691
  • 204,283
  • 31
  • 260
  • 272