aaronjonmartin
Technical User
Hi,
Hope you guys can help with this one.
I have a css positioned site which has a couple of divs with background images. What i want to do however is on different pages have different images as the backgrounds of these divs. Now the temporary way i have done this is to have a separate css file for each page with the different images set as the backgrounds however this is a poor solution and defeats the object of having a css file to maintain page style/layout from one file. Is there anyway i can define in the code for each page the background images to be used in certain divs? This would allow all of the syling and positioning to be done with the one css file and the different images to be used as the backgrounds for the divs i want changing.
Any help with this would be greatly appreciated.
"It's so much easier to suggest solutions when you don't know too much about the problem."
Malcolm Forbes (1919 - 1990)
Hope you guys can help with this one.
I have a css positioned site which has a couple of divs with background images. What i want to do however is on different pages have different images as the backgrounds of these divs. Now the temporary way i have done this is to have a separate css file for each page with the different images set as the backgrounds however this is a poor solution and defeats the object of having a css file to maintain page style/layout from one file. Is there anyway i can define in the code for each page the background images to be used in certain divs? This would allow all of the syling and positioning to be done with the one css file and the different images to be used as the backgrounds for the divs i want changing.
Any help with this would be greatly appreciated.
"It's so much easier to suggest solutions when you don't know too much about the problem."
Malcolm Forbes (1919 - 1990)