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 seeking out numerous solutions, I 
settled on one that works using Javascript to change the image style within the 
body tag of my document.

http://www.liquidterrain.com/index.html

This doesn't validate as XHTML largely because the <body> tag is wrapped within 
the implemented <script>. I imagine this would also break the entire page if 
the client's Javascript was turned off.

Is anyone aware of a method to randomly change the <body> style, perhaps by 
randomly loading a different style sheet?

Thanks.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to