I don't think it's possible without scripting, whether its client- or
server-side. You can use a .php script (located somewhere else, perhaps) as
an img src or in a url() in the stylesheet. That .php file will have to
generate the appropriate image and have a proper mime type. Read this
article: http://sonspring.com/journal/easy-random-css-backgrounds

Anthony Aziz
http://blog.aaziz.org


On Fri, Aug 15, 2008 at 11:05 AM, Peggy Coats <[EMAIL PROTECTED]> wrote:

> I'm working on a page with a background image  in one of the divs
> (#outerWrapper #contentWrapper #content #homepic ):
> http://www.ambientglow.com/garage/pmsca/web/index.html
>
> My client would like to have the page randomly load a background image,
> instead of having a static image.
>
> Is there a way to do this with CSS?
>
> Thanks,
>
> Peg
> ______________________________________________________________________
> 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/
>
______________________________________________________________________
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