I have an HTML document where I have two different tables. One is class Alpha and one is class Beta. I want to assign this css to class Beta only…
td
{
border-style:solid;
border-top:thick double #ff0000;
}
I can not figure out how to assign this only to Beta. Does anyone know how?
Just apply the
.betaclass selector to the entire table and change your CSS code to apply a rule only totddecedents of.betalike this:If you need to apply the rule to multiple elements within
.betasimply add an additional selector like this:Qapla’!