【问题标题】:Modal pop up working fine in IE7 but not in IE8模态弹出窗口在 IE7 中工作正常,但在 IE8 中不正常
【发布时间】:2011-10-27 20:54:11
【问题描述】:

我有一个面板,我在按钮单击时显示(模式弹出扩展器)。现在,该面板在 IE7 中正确显示,但在 IE8 中缩小。它缩小得如此之多,以至于其中的项目重叠了。

这里是面板代码:

   <asp:Panel ID="pnlGallery" runat="server">
        <div id="divGallery" class="gallery">
            <ul>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <asp:DataList ID="ddlgal" RepeatColumns="5" runat="server" GridLines="None"
                                OnItemDataBound="ddlgal_ItemDataBound">
                                <ItemTemplate>
                                    <table border="0" cellpadding="0" cellspacing="0" style="margin-left: 10px; margin-right: 10px;">
                                        <tr>
                                            <td>
                                                <li>

如果需要更多代码,请告诉我。

【问题讨论】:

  • 哦!我已经完成了最小宽度的设置。 :-)

标签: asp.net internet-explorer panel modalpopupextender


【解决方案1】:

只是为了其他遇到同样问题的开发者,

我已将 min-width 属性设置为适当的级别,它在 IE7 和 IE8 中都可以正常工作。

【讨论】:

    猜你喜欢
    • 2023-03-06
    • 2013-07-07
    • 1970-01-01
    • 2017-08-20
    • 2013-10-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-02
    相关资源
    最近更新 更多