Menu
My table is 4 columns with about 400 rows. ( I’ll say red and green for this eg)
I want to style the background color across each row but in fixed blocks/rows.
i.e
rows 1-5 red
rows 6-8 green
rows 9-10 red
rows 11-15 green
rows 16-30 red
etc.
I maybe will have 30 blocks of red and 30 blocks of green.
Just using two colors. The best idea, me thinks, would be to set the whole table to one color say red then insert the green areas.
Any pointers please?
Posted this in javascript but maybe it needs css or a combination of both.
I paste in the data table, but css class or ID needs to be preset to format the table.