Dreamweaver dw里面DIV绝对定位

来源:百度知道 编辑:UC知道 时间:2024/06/04 23:28:16
首页里面已经有了两个DIV 并且绝对定位了,我还想加一下,但是新加的那个不动了,请问各位大虾是怎么回事??
前两个已经定位的div的代码:
<DIV id=ysy style="RIGHT: 0px; POSITION: absolute; TOP: 300px">
<table width="70" border="0" cellspacing="0" cellpadding="0"><tr>
<td width="70" height="140" align="center" valign="top"><em><a href="News.html"></a></em><a href="News.html"><img src="ysy.jpg" alt="点击查看" width="70" height="140" border="0" /></a></td>
</tr></table><table width="70" border="0">
<tr>
<td><div align="right"><img src=images/close.gif OnClick="document.getElementById('ysy').style.display='none'">
</div>
</tr>
</td>
</t

我弄可以。

<!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>
<div id="fl_left" style="position:absolute; left:484px; top:280px;"> </div>
<DIV id=fl_ltopr style="RIGHT: 374px; POSITION: absolute; TOP: 105px"> </div>

<DIV id=ysy style="RIGHT: 585px; POSITION: absolute; TOP: 105px">
<table width="70" border="0&q