<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档 </title> </head> <body>
<script language="javascript">
function run(){
docWidth = document.body.clientWidth;
docHeight = document.body.clientHeight; //document.getElementById("ic").style.position = "relative"; document.getElementById("ic").style.top ='200px';
}</script>
不明白你的意思,你想达到什么效果
<div id="ic" style="Z-INDEX:99999; position:absolute">
<table width="17%" height="152" border="0" cellpadding="0" cellspacing="0" bordercolor="#9999FF" bgcolor="#CCCCFF">
<tr>
<td><input type="button" onclick="run()" value="变一下位置" /></td>
</tr>
</table>
</div>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货