html - CSS specific table -
i have html document have 2 different tables. 1 class alpha , 1 class beta. want assign css class beta only...
td { border-style:solid; border-top:thick double #ff0000; } i can not figure out how assign beta. know how?
live long , prosper.
just apply .beta class selector entire table , change css code apply rule td decedents of .beta this:
<table class="beta"> <tr> <td>...</td> <td>...</td> </tr> </table> .beta td { border-style:solid; border-top:thick double #ff0000; } if need apply rule multiple elements within .beta add additional selector this:
.beta td, .beta th { border-style:solid; border-top:thick double #ff0000; } qapla'!
Comments
Post a Comment