this code will not load on my localhost, but gives no errors. Will you load this and see if it will work:
<style type="text/css">
<?php
$count = 1;
function divs() {
$int = rand(6, 30);
while ($int <= 31) {
$t = rand(1, 99);
$l = rand(1, 99);
$w = rand(2, 7);
$h = rand(0.25, 1.25);
if( rand(0, 1) == 0)
$col = "000049";
else
$col = "99ccff";
echo ("div#d".$count." {position:absolute; top:".$t."%; left:".$l."%; width:".$w."in; height:".$h."in;");
echo ("background-color:#".$col.";}");
$count++;
}
}
function implement() {
while ($count != 0) {
echo ("<div id=\"d".$count."\"></div>");
$count--;
}
}
?>
<?php
divs();
?>
a:link {color: #fff; text-decoration: none; outline: none;}
a:visited {color: #fff; text-decoration: none; outline: none;}
a:active {color: #fff; text-decoration: none; outline: none;}
a:hover {color: #fff; text-decoration: none; outline: none;}
</style>
</head>
<body>
<?php
implement();
?>
</body>
</html>