:: Forum >>

Is there a way to set the back color of one particular row header cell?

Hi,
Is there a way to set the back color of one particular "row header" cell?
I can set the same back color on all column headers and also in the row headers. I would like to set a different back color in one particular "row header".
Thanks!!!!
Ana
Tuesday, November 9, 2004
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<style>
.th1
{
background:rgb(74,121,214);
}
</style>
</HEAD>
<BODY>
<table>
<tr>
<th > Name </th>
<th class="th1"> Number </th>
<th > Marks </th>
</tr>


<tr>
<th > Ram </th>
<th > 101 </th>
<th> 98 </th>
</tr>

<tr>
<th > Veeru </th>
<th > 102 </th>
<th> 98 </th>
</tr>

<tr>
<th > Ashok </th>
<th > 103 </th>
<th> 98 </th>
</tr>

</table>


<P>&nbsp;</P>

</BODY>
</HTML>
Jyostna
Wednesday, March 9, 2005
Whats this ???
Wednesday, March 9, 2005
You try the following example and i am sure that it will work. Just copy this code and try it.All the thing we have to do is, adding the <style>
tag with required color settings in the <head> section
If have any doubts regarding this let me know,
My email-id:devi_bodapati@rediffmail.com

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<style>
.th1
{
background:rgb(74,121,214);
}
</style>
</HEAD>
<BODY>
<table>
<tr>
<th > Name </th>
<th class="th1"> Number </th>
<th > Marks </th>
</tr>


<tr>
<th > Ram </th>
<th > 101 </th>
<th> 98 </th>
</tr>

<tr>
<th > Veeru </th>
<th > 102 </th>
<th> 98 </th>
</tr>

<tr>
<th > Ashok </th>
<th > 103 </th>
<th> 98 </th>
</tr>

</table>


<P>&nbsp;</P>

</BODY>
</HTML>

jyostna
Thursday, March 10, 2005
WOW
barani
Thursday, March 10, 2005

This topic is archived.


Back to support forum

Forum search