I think this is what you want, to have each time the page loads, a random style is embedded.
Just change the values in the array to the random style sheets:
Code:
<script language="JavaScript">
<!--
styles = new Array
styles[1]="<style type="text/css>@import url('1.css');</style>"
styles[2]="<style type="text/css>@import url('2.css');</style>"
styles[3]="<style type="text/css>@import url('3.css');</style>"
styles[4]="<style type="text/css>@import url('4.css');</style>"
styles[5]="<style type="text/css>@import url('5.css');</style>"
styles[6]="<style type="text/css>@import url('6.css');</style>"
styles[7]="<style type="text/css>@import url('7.css');</style>"
styles[8]="<style type="text/css>@import url('8.css');</style>"
random_num = (Math.round((Math.random()*7)+1))
document.write(styles[random_num]);
-->
</script>
Put that in your <head> where the style sheet would be called. It will choose a random style sheet out of the array and write it onto your page.
You could also do this in php with array_rand.
For the random content, just use this same script, but replace the css tags with text.
For the content part, if you use the same variable, random_num, you can have one sylesheet match up with one set of text:
Code:
content[random_num]
Good luck!
Emminar
Bookmarks