Is there a way to update the copyright date of a website using CSS? That way when a new year arrives, I would only have to change the date once instead of on over a thousand pages.
No, CSS can't do that. You probably want to look into either a JavaScript or PHP solution.
Fotiman
7:41 pm on Mar 7, 2006 (gmt 0)
As pointed out, CSS will not do that (well, technically you could use the :before or :after psuedo selectors to accomplish this, but it wouldn't work in IE). The best option would be to use some server technology like ASP, PHP, JSP, etc., to generate your copyright message. Since the copyright notice is content and not presentation or behavior, it would be ill-advised to try and accomplish this with CSS or JavaScript (both of which could be disabled for the person viewing your pages).