one css style change based on date
-
I have tried to find a method of doing this but my queries get confused with changing an entire style sheet based on date. Not what I want.
I have a table in one of my sites. Within this table I have listed items by date. I have been manual;y changing the tr class from something like current to something like old. This switches the text in that row from prominent to faint, denoting the passage of time.
Is there a way I can set a class to switch from one to another based on a specific date set? Thus removing my need to do this by hand at the time and allow me to setup a years schedule in advance.
I figure there must be a way.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘one css style change based on date’ is closed to new replies.