<style type="text/css">
.modal
{
/*padding: 5px 50px 10px 100px;*/
/*position:relative;*/
display:inline-flexbox;
}
.modal-content {
/*width: 400px;
height: 150px;
/*position: absolute;
bottom: 0;*/
display:inline-flexbox;
}
#divAttachFileDialog{
/*white-space: nowrap;*/
/*display:inline-flexbox;*/
/*overflow: hidden;
text-overflow:clip;*/
}
.Themebutton:hover
{
background-color: #1190CA;
border: 0px solid #FFFFFF;
font-size: 14px;
color: White;
cursor:pointer;
padding: 5px 15px;
-moz-border-radius: 4px 4px 4px 4px;
}
.Themebutton
{
background-color:#3A5A81;
border: 0px solid #FFFFFF;
color: #FFFFFF;
}
</style>
&#13;
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="MT32_Inbox_AttachFile_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=IE11" />
<title></title>
<script src="/js/JQ/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="/js/JQ/jquery.MultiFile.js" type="text/javascript"></script>
<script src="../../../js/AttachFile.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
<div id='divAttachFileDialog' class="modal" style="font-family:Arial;font-size:small;">
<b >Follow the below steps to Attach Maximum of 3 Files with every file size upto 5MB:</b><br /><br />
1.Click on 'Browse' button to select file you wish to attach.With Every browse action you can select one file at a time.<br />
2.Once Browse of upto 3 file is done,Click on 'Attach' to list the files<br />
3.Finally Click on 'Done' to complete file attachment.<br /><br />
<b>Attach Files<br /></b>
<p>
<asp:Label ID="lblFileUploadMessage" runat="server" Text="" ></asp:Label></p>
<div runat="server" id="divUpload" style="display: block">
</div>
<div class="modal-content">
<div id="inputsPlace">
<asp:FileUpload ID="ComposeMailMultipleFileUpload" runat="server" class="multi" accept="txt|jpeg|jpg|gif|png|xls|doc|docx|xlsx|ppt|pptx|rtf|pdf|zip" maxlength="3" onchange="return CheckAttached();" onclick="return checkfilenumber();"/>
</div>
<br />
<table><tr><td>
<asp:Button ID="btnAttachMultipleFiles" runat="server" Text="Attach" onclick="btnAttachMultipleFiles_Click"
OnClientClick ="return CheckAttached();" CssClass="Themebutton" Height="25px" Width="120px"/></td><td>
<input type="button" value="Done" id="btnSaveFiles" onclick ="CloseMe();" runat="server" disabled="disabled" class="Themebutton"
style="height:25px;width:120px"/></td>
<td>
<input type="button" value="Clear All" id="btnClear" onclick ="OnClearData();" class="Themebutton" style="height:25px;width:120px"/>
</td>
</tr></table>
<br /><b>Note:</b><br />Use 'Remove' button to discard the file if any selected.<br />Use 'Clear All' to remove all attachment.<br /> Allowed File Extensions -
<br />
txt, jpeg, jpg, gif, png, xls, doc, docx, xlsx, ppt, pptx, rtf, pdf.
<br />
</div>
<asp:HiddenField ID="hdnFileCount" runat="server" />
<asp:HiddenField ID="hdnFileName" runat="server" />
<asp:HiddenField ID="hdnFileNameDisplay" runat="server" />
<asp:HiddenField runat="server" ID="hdnInboxsizeused" />
<asp:HiddenField runat="server" ID="hdnFiles" />
<asp:HiddenField ID="hdnBrowseCount" runat="server" />
</div>
</form>
</body>
</html>
&#13;
我在aspx页面中输入了一个html代码,该代码将在对话框中查看。在IE中期望版本7没有完全查看内容。 有没有可能解决这个问题?
以下是代码和问题快照
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=IE11" />
<title></title>
<script src="/js/JQ/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="/js/JQ/jquery.MultiFile.js" type="text/javascript"></script>
<script src="../../../js/AttachFile.js" type="text/javascript"></script>
<style type="text/css">
.modal
{
position:absolute;
}
.modal-content {
position: absolute;
bottom: 0;
}
#divAttachFileDialog{
/*white-space: nowrap;*/
/*display:inline-flexbox;*/
/*overflow: hidden;
text-overflow:clip;*/
}
.Themebutton:hover
{
background-color: #1190CA;
border: 0px solid #FFFFFF;
font-size: 14px;
color: White;
cursor:pointer;
padding: 5px 15px;
-moz-border-radius: 4px 4px 4px 4px;
}
.Themebutton
{
background-color:#3A5A81;
border: 0px solid #FFFFFF;
color: #FFFFFF;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id='divAttachFileDialog' class="modal" style="font-family:Arial;font-size:small;">
<b >Follow the below steps to Attach Maximum of 3 Files with every file size upto 5MB:</b><br /><br />
1.Click on 'Browse' button to select file you wish to attach.With Every browse action you can select one file at a time.<br />
2.Once Browse of upto 3 file is done,Click on 'Attach' to list the files<br />
3.Finally Click on 'Done' to complete file attachment.<br /><br />
<b>Attach Files<br /></b>
<p>
<asp:Label ID="lblFileUploadMessage" runat="server" Text="" ></asp:Label></p>
<div runat="server" id="divUpload" style="display: block">
</div>
<div class="modal-content">
<div id="inputsPlace">
<asp:FileUpload ID="ComposeMailMultipleFileUpload" runat="server" class="multi" accept="txt|jpeg|jpg|gif|png|xls|doc|docx|xlsx|ppt|pptx|rtf|pdf|zip" maxlength="3" onchange="return CheckAttached();" onclick="return checkfilenumber();"/>
</div>
<br />
<table><tr><td>
<asp:Button ID="btnAttachMultipleFiles" runat="server" Text="Attach" onclick="btnAttachMultipleFiles_Click"
OnClientClick ="return CheckAttached();" CssClass="Themebutton" Height="25px" Width="120px"/></td><td>
<input type="button" value="Done" id="btnSaveFiles" onclick ="CloseMe();" runat="server" disabled="disabled" class="Themebutton"
style="height:25px;width:120px"/></td>
<td>
<input type="button" value="Clear All" id="btnClear" onclick ="OnClearData();" class="Themebutton" style="height:25px;width:120px"/>
</td>
</tr></table>
<br /><b>Note:</b><br />Use 'Remove' button to discard the file if any selected.<br />Use 'Clear All' to remove all attachment.<br /> Allowed File Extensions -
<br />
txt, jpeg, jpg, gif, png, xls, doc, docx, xlsx, ppt, pptx, rtf, pdf.
<br />
</div>
<asp:HiddenField ID="hdnFileCount" runat="server" />
<asp:HiddenField ID="hdnFileName" runat="server" />
<asp:HiddenField ID="hdnFileNameDisplay" runat="server" />
<asp:HiddenField runat="server" ID="hdnInboxsizeused" />
<asp:HiddenField runat="server" ID="hdnFiles" />
<asp:HiddenField ID="hdnBrowseCount" runat="server" />
</div>
</form>
</body>
</html>
它在IE7中运行良好。任何财产都可以解决这个问题? 附加问题图像 有人可以帮忙吗?提前致谢