我为什么不能移动div的位置
<head runat="server">
<title>Untitled Page</title>
<script language=javascript >
function load()
{alert("aaa");
text.style.posTop=1000;
text.style.posHeight=1000;
text.style.posWidth=1000;
text.innerText="POPOEVER";
}
</script>
</head>
<body onload ="load()" >
<form id="form1" runat="server">
<div id ="text">
</div>
<div >
</div>
</form>
</body>
</html>
问题点数:10、回复次数:2Top
1 楼jackcheng3210(中晨.Net)回复于 2005-11-01 13:41:50 得分 0
<body >
<form id="form1" runat="server">
<div id ="text" style="left:200px; top: 100px">
aaa
</div>
<div >
</div>
</form>
</body>
</html>
---------------------------
这样都不能把字拉到位置上Top
2 楼lingbo_wx(上海小浪人)回复于 2005-11-01 14:09:50 得分 0
dreamweaver里插入---布局--层,不要选div标签
试试Top




