troubleshooting Question

How to get chosen background-color on every line?

Avatar of Lennart Ericson
Lennart EricsonFlag for Sweden asked on
PHPCSSHTML
10 Comments2 Solutions215 ViewsLast Modified:
I'd like to show a page where all dates from day_1 to day_n are populated with data from a database:
varv1_ny.php
This file prints background-colors; every second file should be colored #E5EDF6 the others should be colored white.
The date  field is colored correctly while the other fields are left white if there is no appropriate data for that very date existing in the database.
Please see http://ljushagen.se/lbs/public/general/demo.php 
I'd like to have every second line colored #E5EDF6 all its length whether or not data is existing.
How can that be done?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros