Scusate la domanda da pivello, ma potrebbe funzionare lo script qua sotto?
lo so che è piuttosto inutile, ma ssarebbe la base per avere uno sfondo random definito come voglio.
al momento il browser non mi riporta errori javascript ma mi visualizza le proprietà dello sfondo come testo
<html>
<head>
</head>
<script type="text/javascript">
document.write('<style type="text/css">');
document.write('body,td,th {');
document.write('background-color: black;');
document.write('background-image: url(sfondo.gif);');
document.write('background-repeat: no-repeat;');
document.write('background-position: center 100%;');
document.write('background-attachment: fixed;}');
</script>
</body>
</html>