Great module.

I use tables on my site to display tabular info.

The top 2 rows are formatted with bgcolor, text colour and other formatters to match my site theme, but I would like to have the rest of the rows coloured in alternate colours like this how this module works.

When I use this module, my formatting is over-ridded. Is there any where in the code that can be changed to allow the module to leave the first 2 rows, and start the odd / even class on the third row.

Many thanks

David

Comments

deviantintegral’s picture

If rows have an existing class, the class attribute is left as is. So, instead of using bgcolor and other attributes, you should use CSS classes instead.

taxicab221’s picture

Thanks deviantintegral.

If I understand you correctly, I need to edit my theme css file and add classes for the first two rows that i want to keep the same, then adding the classes to the two table rows and then the module should ignore these rows?

deviantintegral’s picture

Yes, that's the best way to handle it. That will also have the added bonus of being XHTML compliant.

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
astonvictor’s picture

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks