EZ Results more CSS friendly ...

It seems that in order to be cross-browser compatible (mainly IE and Firefox) I need to make heavy modifications to the EZ results default template to get adequate CSS support. My suggestion (and one which I use) would be to change the variables using alternating colors to classes instead of using the bgcolor attribute.

For example ...

var $alt_color1a = "ffffff"; // ALTCOLOR1 in results row

... would become ...

var $alt_color1a = "CSSClassName"; // ALTCOLOR1 in results row

Then in the $results_row ...

var $results_row = "<tr><td bgcolor=ALTCOLOR2>COL1</td><td>COL2</td><td>COL3</td></tr>";

... would become ...

var $results_row = "<tr><td class=\"ALTCOLOR2\">COL1</td><td class=\"ALTCOLOR2\">COL2</td><td class=\"ALTCOLOR2\">COL3</td></tr>";

This makes it cross-browser and works much better because I don't have have to worry about my styling being stuck in the code, but rather put it in my CSS file where it should be.

I just wanted to get people's thoughts on this type of a change. Seems reasonable to make EZ Results more appealing to the large CSS developer community out there.

JV, great scripts, by the way.

Thanks!
Sean