Here is an example of CSS code you would use:
.green_box {background-color:green}
.yellow_box {background-color:yellow}
.red_box {background-color:red}
Assign each cell a unique ID and assign it a class using JavaScript. Or just manually assign the cells the class they should be styled with.
JorgeM
Industrious Poster
4,002 posts since Dec 2011
Reputation Points: 294
Solved Threads: 543
Skill Endorsements: 115