<BODY onload="setPos()" onresize="setPos()">
<div style="background-color:yellow;width:0;height:0;position:absolute" id=div1>
asdfgsdfgdhg<BR>
asdfgsdfgdhg<BR>
asdfgsdfgdhg<BR>
asdfgsdfgdhg<BR>
<SCRIPT LANGUAGE="JavaScript">
<!--
function setPos(){
div1.style.left=(document.body.offsetWidth-div1.offsetWidth)/2
div1.style.top=(document.body.offsetHeight-div1.offsetHeight)/2
}//-->
</SCRIPT>
</div>
</BODY>
<div style="background-color:yellow;width:0;height:0;position:absolute" id=div1>
asdfgsdfgdhg<BR>
asdfgsdfgdhg<BR>
asdfgsdfgdhg<BR>
asdfgsdfgdhg<BR>
<SCRIPT LANGUAGE="JavaScript">
<!--
function setPos(){
div1.style.left=(document.body.offsetWidth-div1.offsetWidth)/2
div1.style.top=(document.body.offsetHeight-div1.offsetHeight)/2
}//-->
</SCRIPT>
</div>
</BODY>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货