CSS Style Sheets

  • Thread starter Thread starter PJ
  • Start date Start date
P

PJ

it's hard to understand exactly what you're doing from your question ( your
code would help ), but I often do this.

tr.myrowstyle td {
color:red;
}

td.primadonnacell {
color:yellow
}

<tr class="myrowstyle">
<td>Red Fun</td>
<td class="primadonnacell">Yellow Fun</td>
<td style="color:green">Green Fun</td>
<td>More Red Fun</td>
</tr>
 
Hey Guys
I have applyed Styles to 3 Cells in a row
But when i specify a Style For the Whole Row
the TD styles Dissapear
Can i Enforce the CSS Properties Specified at TD to overide those Spcified
at TR
Thanks for your help
 
Back
Top