By gst
via prdesign-studio.co.uk
Submitted: Sep 17 2007 / 13:16
Hi all, as this is the first tutorial I've posted I thought I'd make it an easy one (for my sake). Basically this tiny PHP script will show you how to make a stylesheet switch depending on the time of day, similar to the one found here.
You will need three seperate stylesheets named morning.css, day.css and night.css. All you really need different in each is the background image, to give the sense of a different time of day, but feel free to experiment with other elements such as link colours.
Add your comment