<snip>
> > Yeah, it's totally possible, unless I'm misunderstanding your needs.
> > If you have a unique id for each page's body and a div that reoccurs on
> > each page (using the same ID each time) for the image, then you simply
> > define css for each combination. The css might get a little verbose if
> > you have lots of pages to account for, but the only extra markup is the
> > id on the body tag.
> >
> > PAGE 1
> > -----------
> > <body id="home">
> >     <div id="imageholder"></div>
> > </body>
> >
> >
> > PAGE 2
> > ------------
> > <body id="about">
> >     <div id="imageholder"></div>
> > </body>
> >
> > CSS
> > ------------
> >
> > #home #imageholder {
> >     background: url(myHomeImage.jpg) left top scroll no-repeat;
> >     }
> > #about #imageholder {
> >     background: url(myAboutImage.jpg) left top scroll no-repeat;
> >     }
> >
Wow...I can't believe I hadn't thought of that  :)   sure beats adding
scripting when it's not otherwise needed!

Thanks, Rick!

~R

-- Non scholae sed vitae discimus
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to