<script>
function setheight()
{
nstext.style.height = bodyID.clientHeight - nsbanner.offsetHeight;
}
</script>
<body scroll="no" class="dtBODY" onload="setheight();" onresize="setheight();" id="bodyID" topMargin="0">
<div id="nsbanner">
    <div id="bannerrow1">
        <table class="bannerparthead" cellSpacing="0" ID="Table1">
            <tr id="hdr">
                <td class="runninghead" noWrap></td>
            </tr>
        </table>
    </div>
    <div id="TitleRow">
        <h1 class="dtH1">帮助模板</h1>
    </div>
</div>

解决方案 »

  1.   

    nstext是什么的属性啊,怎么突然跳出来?
      

  2.   

    <div style="position:absolute;height:10pt;top:expression(document.body.clientHeight-this.style.pixelHeight+document.body.scrollTop);font:9pt;">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</div>
      

  3.   

    会给select,iframe等给档住了,我都想知道答案??
      

  4.   

    var div=document.createElement('div');
    div.id='Notation';
    var str_N='<table id="NotationTable" style="width:100%"><tr>'+'<td>'+NotationMsg+'</td><td align="right"><img src="../images/msgClose.jpg" hspace="3" style="CURSOR:pointer" onclick="parent.closeDiv()" title="关闭"/></td></tr></table>';
    str_N+=('<table width="100%"><tr><td style="height:60px;vertical-align:center;text-align:center;word-break:break-all">有新的申请需要您审核<br><br><a href=# onclick="redirect()">点击查看详细</a></td></tr></table>');
    var frm=document.createElement('<iframe name="NotationFrm" frameborder=0 marginheight=0 marginwidth=0 hspace=0 vspace=0 scrolling=no style="width:180px;height:116px"></iframe>');
    div.appendChild(frm);
    document.body.appendChild(div);
    window.frames["NotationFrm"].document.write('<head><LINK href="../Styles/StyleNew.css" type="text/css" rel="stylesheet"><script>function redirect() { window.parent.location="NotationShow.aspx";}</script></head>'+'<body>'+str_N+'</body>');
      

  5.   

    个人之见,以资参考:
    可以盖住select的div(20041216)
    http://jkisjk.vip.sina.com/html/DivBeforeSelect.htm
      

  6.   

    也有可能你需要的是popup,而不是div,
    代码见这一贴里 HHH3000(蓝色爱琴海 阿信fans 001号) 的回复:
    http://community.csdn.net/Expert/topic/3999/3999400.xml?temp=.3564264
      

  7.   

    我是用层模拟菜单,页面里还有很多其他自动生成的层,怎样把菜单层显示在最顶端???
    顺便问一下楼上的朋友,怎么样在popup里加入可以点击的内容????就是连接什么的.