Sent by Vicki Skinner (Stebbins) on 25 May 2005 06:06
>>I'm trying to show a different background image to each page of a website.
><snip>
>>The only way I can think to do it is, to call the entire div another
>>name for each page for example div#about, div#contact etc etc with all
>>the padding, borders etc.
>>
>>This would fill a stylesheet so I wondered does someone know a better way?
>
>Are all your images the same size?
>
>I would say that the best way is to specify all your universal rules in your
>external style sheet. Then, in the head of your individual pages, specify
>the actual background image. (I think this means that you won't be able to
>"shorthand" your background styles in your external style sheet. Somebody
>please correct me if I'm wrong.)
>
>tim
Hi Tim and other folk,
The images will all be different sizes.
I was about to try with the individual pages and had an idea...
Could the image be placed as a background within the div as a class, so a
class attribute goes into the div description on each page?
ie.
<div id="content" class="aboutpic">
Can someone let me know if this is possible?
Thanks
Vicki
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/