Hi,
Unfortunately at the moment it appears that the CSS settings are stripped out when the javascript processes the table, so the only thing left is the background colour change.
You should be able to affect all the rows with something like:
| Code: |
table #tableID td{
padding-top: 2px;
padding-right: 10px;
padding-bottom: 2px;
padding-left: 10px;
}
|
Unfortunately you will have to do it for every table in the page, assuming they have different table IDs.
So not only do you have the css background-color code for your odd/even rows, but one as well for the table.
So for example if your table is #tableBlue4 and your row .tdblue4, you may have the following:
| Code: |
table #tableBlue4 td{
padding-top: 2px;
padding-right: 10px;
padding-bottom: 2px;
padding-left: 10px;
}
.tdblue4{
background-color: #B3D9FF;
}
|
That would make all rows for the table use your padding options and the javascript to apply the colour, however what you cannot do is set padding for individual rows as mentioned earlier this is currently stripped out by the javascript.
Another mod I may look at is to pass full styling across rather than just background colour, this way you would hopefully get full control of the changes, i.e as you highlight a row it could go bold or similar...something for a future rainy day!
Post edited by: SimpleByDesign, at: 2007/09/25 00:29
Post edited by: SimpleByDesign, at: 2007/09/25 00:30<br><br>Post edited by: SimpleByDesign, at: 2007/09/25 00:31