You might use client-side scripting to apply a random stylesheet. Look
into JQuery [1]... it's a pleasure to use.
As a rule, I always make sure that my pages are presentable sans JS
and CSS, and then use JS and CSS to style it from there.
Tim
[1] http://www.jquery.com
___
Tim Wolf wrote:
>I realize this is a bit of a scripting issue, but I'm seeking a solution from
>the CSS community as it regards a fundamental style change and a desire to
>validate in XHTML.
>
>I am trying to create a page with a body background image that will randomly
>change when the page is
Tim Wolf wrote:
> I realize this is a bit of a scripting issue, but I'm seeking a solution from
> the CSS community as it regards a fundamental style change and a desire to
> validate in XHTML.
>
> I am trying to create a page with a body background image that will randomly
> change when the pa
You're right, a bit off-topic, as is my answer. You could use php, ie have
more contro, as it's server-side ie
the php array
$classes = array('class1', 'class2', 'class3'); ?>
the xhtml with php dynamics
then in the css, for example
body .class1 {
background: url(/images/class1.jpg);
}
body
I realize this is a bit of a scripting issue, but I'm seeking a solution from
the CSS community as it regards a fundamental style change and a desire to
validate in XHTML.
I am trying to create a page with a body background image that will randomly
change when the page is reloaded. After seekin