[CODE]<style type=text/css>
#aaa{
position:absolute;
background-color:#ff00ff;
top:50;
left:0;
height:200;
width:200;
}
</style>
<script language="javascript">
function bbb()
{
var txt1=document.all.txt1.value;
var txt2=document.all.txt2.value;
if(txt1 == "")
txt1=0;
if(txt2 == "")
txt2=50;
document.all.aaa.style.left=txt1+"px";
document.all.aaa.style.top=txt2+"px";
}
</script>
<body>
<div id="aaa">aaaaaaaaaaaaaaaa
</div>
X:<input type=text id=txt1>Y:<input type=text id=txt2>
<input type=button value="change" onclick="bbb();"></input><p>
</body>[/CODE]