tQuery custom table styling

One of the many advantages of tQuery is customization. tQuery can work with any table style and implementation is very straightforward .

First, we’ll take a simple table style. I took the Code Canyon one just to demonstrate how to convert a simple HTML table to a tQuery dynamic one. They are not included in the package though.
>>>
The HTML Markup.

<table id=”earnings”>
<thead>
<th>Month</th>
<th>Sales</th>
<th>Earnings</th>
</thead>
<tbody>
<tr>
<td>February 2010</td>
<td>6</td>
<td>$12.34</td>
</tr>
<tr>
<td>March 2010</td>
<td>55</td>
<td>$98.44</td>
</tr>
<tr>
<td>April 2010</td>
<td>679</td>
<td>$1223.34</td>
</tr>
</tbody>
</table>
The CSS code
*
{
font-size: 13px;
color: #444444;
font-family: Tahoma;
margin: 0;
padding: 0;
}
TABLE
{
border: 4px solid #B7B7B7;
margin: 10px 0px;
border-collapse: separate;
border-spacing: 0;
width: 100%;
}
THEAD TH
{
background-color: #DB592B;
border-bottom: 1px solid #000000;
border-color: #A42D19;
background-image: url(images/bg.png);
background-repeat: repeat-x;
font-size: 10px;
text-transform: uppercase;
color: #FFFFFF;
padding: 8px;
}
TABLE THEAD TH STRONG
{
font-weight: bold;
color: #FFFFFF;
}
TABLE THEAD TH A
{
color: #FEAC4D;
}
TABLE THEAD TH.highlighted
{
background-color: #A42D19;
color: #FFF6DA;
}
TABLE TBODY TD
{
padding: 5px 10px;
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #D0D0D0;
background-color: #F4F4F4;
font-size: 12px;
color: #494949;
}
TABLE TBODY TD.highlighted
{
background-color: #D4D4D4;
}
TABLE TBODY TR:hover TD
{
background-color: #FFFFFF;
}
TABLE TFOOT TD
{
background-color: #FFF6DA;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
border-color: #F17D4D;
font-size: 13px;
color: #3A362F;
padding: 5px 10px;
font-weight: bold;
}
TABLE TFOOT TD A
{
color: #BB3E26;
}
#wrapper
{
width: 350px;
}