Re: Table with different color for even or odd rows
Posted 16 years 5 months ago
thanks for the link. i can make it in CSS no prob. just that i was looking for an automated way of applying the css to the rows.
If client wants to add a row, it will change css by itself.
Re: Table with different color for even or odd rows
Posted 16 years 5 months ago
You have classes setup for the oddRow in whatever is generating your table? You would assign these classes to your table row elements. So if the oddrow is 1 it applies the .oddRow1 nonsense, so on and so forth.
Re: Table with different color for even or odd rows
Posted 16 years 5 months ago
sorry messed up the code...saw that after the post... :-\
should have beed odd and even rows.
i.e: in Joomla! back admin when you take a look at the modules section. you can clearly see the table with white and light silver rows.
how can we achieve that effect?