![]() |
|
|||||||
| CSS Forum Get help from a webmaster in this forum regarding CSS. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I have a header image on my site, but have 3 different styles - 1 for xmas, 1 for easter and another one to display at other times of the year! What i'm wanting to know without having to either rename the header image file and upload or change the css file for those 3 times of the year, can css do this by itself at all? Here is the code in the css: #header { background-image: url('site-header.jpg'); width: 800px; height: 100px; } and here is the code in the php/html page: <div id="header"></div> and by going to enthusiasts guide to Brisbane Transport, you'll see what i mean, and for the header images, they are: http://btbuses.info/site-header%20XMAS.jpg http://btbuses.info/site-header%20EASTER.jpg http://btbuses.info/site-header.jpg Your suggestions are most welcomed. Thankyou... |
|
This ad is part of our Revenue Sharing program |
|
||||
|
what you could do is use javascript...
something like: JavaScript Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Date arithmetic | muni1900 | ASP & VBScript Forum | 0 | 11-07-2007 07:23 PM |
| Example of Image Upload | hanusoft | Web Developers & Development Software | 0 | 09-25-2007 09:37 AM |
| Simple Date Displayer | missjojo | HTML Forum | 1 | 08-11-2007 03:47 AM |
| Change text encoding ANSI->UTF8 | micky_tan13 | ASP & VBScript Forum | 1 | 07-28-2007 07:41 PM |