Hi folks, a bit of brain ache going on…
I want to target two different divs with parent div glass of ‘even’
Normal conditions:
<div class="pitem">
<div class="pentim">text</div>
<div class="pittext">text</div>
</div>
Even conditions:
<div class="pitem even">
<div class="pentim">text</div>
<div class="pittext">text</div>
</div>
How can i style .pentim and .pittext? Ive tried:
.pitem even > pentim {
float:right;
background-color: #036;
}.pitem even > .pittext.even{
float:right;
background-color: #F30;
}
…but with no joy…could someone shove me in the right direction…
thanks in advance