CSS Style Sheets

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>
 
V

Vincent V

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top