changing position randomly
hi there,
this is the layer..
<style>
#mem{color:white;background-color:"black";position:absolute;top:20;left:30;}
</style>
..and this is the "random number"..
rn=Math.floor(Math.random()*400)+1
--now I want to change the position of my "mem-layer" randomly
each time I refresh my page..I want to change the position of both"top(y) and left(x)"according
to the number selected randomly(rn)
can you help me? I wrote.."top:rn;left:rn;" but it did not work
thanks a lot indeed.