Hi
I put that in, now however it only gives me 10 or 300. Can it not go random inbetween those numbers?
Also for some reason the CSS wont work:
<?
$positionleft = array(10, 300);
$positionright = array(10, 300);
$positionbottom = array(10, 300);
$positiontop = array(10, 300);
$randpositionleft = $positionleft[rand(0,1)];
$randpositionright = $positionright[rand(0,1)];
$randpositiontop = $positiontop[rand(0,1)];
$randpositionbottom = $positionbottom[rand(0,1)];
echo "
<a href=\"file\" style=\"position: absolute; top: $randpositiontop; bottom: $randpositionbottom; left: $randpositionleft; right: $randpositionright; \">
<img src=images/asd.gif></a>
"
?>