[英]asp.net website doesnt work with firefox 3.6
所以我做了一個網站,托管它,它在 firefox 5.0 上運行良好,我的朋友測試了它,他說這對他不起作用,他正在使用 firefox 3.6
該網站使用 asp.net 編寫。 我決定自己測試一下,他是對的。 firefox 3.6 不會讓我使用 asp.net 文本框。 項目在 ASP.NET 4.0
關於如何解決它的任何建議?
它似乎不僅適用於我的默認登錄頁面,rest 似乎也有效。
是否有一行我錯過了輸入使其兼容的代碼?
<--------已編輯-------->
起初我以為文本框不起作用,但實際上它看起來就像首頁被凍結,我無法 select 文本框或按鈕。
這是代碼,不確定我是否需要包含其他任何內容。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="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">
<title>Login</title>
<style type="text/css">
body
{
background: #D0D0D0;
font-size: .80em;
font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
margin: 0px;
padding: 0px;
color: #696969;
position:relative;
z-index: -99;
}
/* Login Box */
.login
{
background: #D0D0D0;
}
.container
{
background-image:url('newui/images/head.png');
border: 1px solid #000000;
width: 518px;
height: 388px;
margin-left: auto;
margin-right:auto;
margin-top: 90px;
}
.content
{
margin-left: 140px;
margin-top: 70px;
}
.header
{
text-align: center;
}
h1#site-name
{
margin-top: 62px;
}
.button
{
margin-left: 100px;
}
</style>
</head>
<body>
<form id="Form1" runat="server">
<div class="login">
<div class="container">
<div class="header">
<h1 id="site-name">
<font color="black" size="5">SES Users Admin</font>
</h1>
</div>
<!--Hello Content -->
<div class="content">
<asp:Label ID="lblUsername" runat="server" Text="Username"></asp:Label>
<asp:TextBox ID="txtUsername" runat="server" Height="21px"
style="margin-left: 2px" Width="133px"></asp:TextBox>
<br /><br />
<asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label>
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Height="20px"
style="margin-left: 4px" Width="133px"></asp:TextBox>
<br /><br />
<div class="button">
<asp:label id="lblResult" runat="server" Width="100%"></asp:label>
<asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnlogin_Click"
Width="57px" Height="21px"/>
</div>
</div>
</div>
</div>
</form>
</body>
</html>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.