相对定位
参看http://www.gl-itc.org左上角的菜单

解决方案 »

  1.   

    www.blizzard.com,这个比较厉害,窗口怎么小都没问题
      

  2.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    </head><body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center"><div id="Layer1" style="position:absolute; width:10px; height:10px; z-index:1">
            <div id="Layer4" style="position:absolute; width:200px; height:44px; z-index:3; background-color: #FF00FF; layer-background-color: #FF00FF; border: 1px none #000000; left: -1px; top: 26px;">层...</div>
            <br/>        <div id="Layer3" style="position:absolute; width:200px; height:49px; z-index:2; background-color: #0000FF; layer-background-color: #0000FF; border: 1px none #000000; top: 74px; left: -1px;">层2</div>
           <br/>
            <div id="Layer2" style="position:absolute; width:200px; height:46px; z-index:1; background-color: #993333; layer-background-color: #993333; border: 1px none #000000; left: -1px; top: 126px;">层1</div>
          </div>
          层总在我旁边 </td>
      </tr>
    </table>
    </body>
    </html>
    参考上面的。试试。