zoukankan      html  css  js  c++  java
  • 解决dropdownlist覆盖div问题

    只要在div前加上
    <iframe id="aaaa" style="position: absolute; z-index: 9; expression(this.nextSibling.offsetWidth);
        height: expression(this.nextSibling.offsetHeight); top: expression(this.nextSibling.offsetTop);
        left: expression(this.nextSibling.offsetLeft);" frameborder="0"></iframe>


    就能解决此问题

    例如:
    <iframe id="aaaa" style="position: absolute; z-index: 9; expression(this.nextSibling.offsetWidth);
        height: expression(this.nextSibling.offsetHeight); top: expression(this.nextSibling.offsetTop);
        left: expression(this.nextSibling.offsetLeft);" frameborder="0"></iframe>


        <div id="divtabEdit" runat="server" class="ap_div_transparence" ondrag="b(this);" ondragstart="a(this);">
            <table width=500 cellpadding=0 cellspacing=0 border=0>
                <tr>
                    <td>
                        公寓号:</td>
                    <td><asp:TextBox ID=txtFlat runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        公寓地址:</td>
                    <td><asp:TextBox ID=txtFlatAddress runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        公寓电话:</td>
                    <td><asp:TextBox ID=txtFlatPhoto runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>
                        楼层数:</td>
                    <td><asp:TextBox ID=txtFloorCount runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" align=center>
                        <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Admin/Image/Btn_qd.gif" />
                        <img src="Admin/Image/Btn_qx.gif" onclick="Hidediv()" />
                    </td>
                </tr>
            </table>
        </div>

  • 相关阅读:
    [考试]20151017数据结构
    [考试]20151016动态规划
    [考试]20151015分治
    [BZOJ1501/NOI2005]智慧珠游戏
    [BZOJ3139/HNOI2013]比赛
    [考试]20151013搜索
    BZOJ3082: Graph2
    BZOJ4690: Never Wait for Weights
    BZOJ4668: 冷战
    BZOJ3262: 陌上花开
  • 原文地址:https://www.cnblogs.com/zhc088/p/864981.html
Copyright © 2011-2022 走看看