Would it be possible to alternate 2 different colors on all table lines by defining a single style for the table & lines, by applying the same CSS style to all lines.
I'd like to avoid creating 2 styles for color 1 and color 2.
Line 1 : color 1
Line 2 : color 2
Line 3 : color 1
Line 4 : color 2
Line 5 : color 1
2 colors in a single style
If you're talking about different colours for alternating rows, then, no, I don't think there is a way around using different classes.