Relative Content

Tag Archive for htmlcssdeployment

How to reduce the amount of HTML style code

I have a Django website that displays data in a table, most of the data is highlighted with a calculated background color to make it quickly obvious to the user. Is there a way to reduce the amount of HTML I am outputting?
Eg: