日期:2014-05-17  浏览次数:20619 次

新人求救DIV问题
这是网页右键查看源代码看到的源码
<div id="curtain" style="width:100%;height:100%;position:absolute;left:0px;top:0px;z-index:1;background:#cccccc;opacity: 0.50;filter:Alpha(opacity=50);"></div><div id="LoadProcess" style="position:absolute; top:200px; z-index:2;visibility: visible; background-color:#FFFFFF;">  <table>    <tr>      <TD vAlign=top width=300><DIV class=contact_head>会员登录</DIV>        <DIV id=contact class=contact_body>          <DIV class=user_warn><IMG align=absMiddle src="images/no.gif"> 您还没有登录,请登录后查看产品展示</DIV>          <DIV class=user_login>            <FORM id="inputForm" name="inputForm" onSubmit="return user_login();" method=post action="MemberCheck.aspx?action=login">              <input name="hidoldurl" type="hidden"/><input name="userid" id="userid" class="user_input" onFocus="if(this.value=='会员名')this.value='';" value="会员名" type="text" runat="server" /><br /><input name="passwd" id="passwd" class="user_input" onfocus="if(this.value=='')this.value='';" value="" type="password" runat="server">              <INPUT align=absMiddle src="images/user_login.gif" type=image>            </FORM>          </DIV>        </DIV></TD>    </tr>  </table></div>

<!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><title>
天佑奴
</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link href="css/base.css" rel="stylesheet" type="text/css" /><link href="css/decss.css" rel="stylesheet" type="text/css" /><link rel="stylesheet" type="text/css" href="css/index.css" />
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/cufon-yui.js"></script>
    <link href="/css/anli.css" type="text/css" rel="stylesheet" /></head>
<body>
<form name="form1" method="post" action="cpzs.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTg0OTcxNTA4MmRkJPWiQLzKcIs8tl9Aa/BG+7qUZMg=" />
</div>

<div id="cpzs_nav">
   <ul >
    <li>男裤</li> 
<li>女裤</li> 
   </ul>
  </div> 
 <div style=" padding-left:200px;position:absolute; top:90px; width:auto; height:auto " > <img src="img/12.gif" /></div>
    &nbs