Different header background images for each page -> how? [SOLVED]
Posted: Wed Aug 15, 2007 12:37 pm
I'm currently making a website where I want each page (5 to be exact) to have a different header background images. I know it can be done with 5 different templates where I give each #header a different id. Linking them to another 5 different stylesheets where I specify de background-image for the #header would do the job.
But that's what I'm trying to avoid. I'm looking for a way to use just one template and one stylesheet because in the future more pages will be added to the site. I was wondering if this could be done with some sort of dynamic code. But maybe there's another "trick" to accomplish this.
Anybody with ideas / a solution to this matter?
TIA. Your help is greatly appriciated.
But that's what I'm trying to avoid. I'm looking for a way to use just one template and one stylesheet because in the future more pages will be added to the site. I was wondering if this could be done with some sort of dynamic code. But maybe there's another "trick" to accomplish this.
Anybody with ideas / a solution to this matter?
TIA. Your help is greatly appriciated.