【发布时间】:2011-06-27 16:05:02
【问题描述】:
在我的项目中,我使用的是更新进度条。单击按钮时,背景页面将被禁用。它在 IE7、Firefox 和 Chrome 中运行良好。但在 IE6 中,下拉菜单显示在进度条的后面。谁能帮我解决这个问题。代码如下:
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="fp_t012stk.aspx.vb" Inherits="fp_t012stk" title="Current Stock Report" %>
<asp:UpdateProgress id="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" runat="server" DisplayAfter="0">
<progresstemplate>
<div id="Layer1" style="top:45px; left:0px; width:80%; height:100%; z-index:1; background:gray; display:block; vertical-align:middle; text-align:center; padding:130px; font: 18px/1.6 Times New Roman; margin:0px 0px 0px 0px; background-color:Gray;filter: alpha(opacity=60); opacity: 0.1; width:76%; height:100%; overflow:auto; text-decoration:none; color:Black; position:absolute; top:0px; left:0%; margin-left:-10px">
<asp:Image ID="imgloading" runat="server" ImageUrl="~/images/ajax-loader2.gif" /><br />
</div>
</progresstemplate>
</asp:UpdateProgress>
<br />
</asp:Content>
提前致谢
【问题讨论】:
-
是客户端要求支持IE6吗?
-
我倾向于同意 Babak 的方向...如果 IE6 不是必需的支持项目,我不会为它编写代码。 IE6 非常旧,运行 Windows 9x 的客户端会使用它。即使是最基本的计算机用户也平均使用 Windows XP(我在一家支持公司工作,距离我们收到 Windows 9x 或 IE6 电话至少 5 年了)。
标签: asp.net html css internet-explorer-6