I am trying to design a site for our dog rescue, and am wondering if it's possible to make a stylesheet that can change via the date.
This would definitely save us some valuable time in keeping our site looking more up to date if I could designate stylesheets for different dates, for instance on holidays ect ect.
dynamic stylesheet change by date
That will be a scripting job, php would be my choice, should be relatively straightforward with an 'if' statement once you've worked out the date function (hardest part) but no doubt also possible with Javascript and for the second time today suggest that Tony may be able to provide a solution
Hugo.
P.S I'll move this to 'Off Topic' as it's not really a CSS question.
dynamic stylesheet change by date
Hi disconnected,
I have to agree with Hugo here and think you should go server side with something like php.
Do a search on google for "php date switch" or something like that and you should find something useful.