> Is it possible, through CSS, to have the image in a header change when
> the user refreshes or re-enters the page?

No, not in CSS directly but you can call a PHP script from within your CSS:

#randomImage {
        background: url(./rotate.php) no-repeat;
        width: 510px;
        height: 268px;
        margin-left: 0px;
}

Where the PHP script is available at alistapart.com:
http://www.alistapart.com/d/randomizer/rotate.txt

Mark W.

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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