asp 页面背景图片不显示
<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Login.aspx.cs"Inherits="Login"%><...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<!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 runat="server">
<title>Welcome</title>
<style type="text/css">
.style2
{
font-family: 宋体;
font-size: medium;
text-align: center;
}
.style3
{
font-family: 宋体;
font-size: x-large;
}
.style5
{
font-family: 方正舒体;
font-weight: bold;
font-size: xx-large;
}
.style7
{
font-size: x-large;
}
</style>
</head>
<body style="background-image: url('./App_Data/1280_800_2511.jpg'); height: 687px; width: 1230px;">
<form id="form1" runat="server">
<div class="style2"
style="height: 687px; width: 1230px;">
<br />
<br />
<br />
<br />
<br />
<br />
<span class="style5">欢迎进入程序设计课程教学评价系统</span><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<span class="style7"><b> 登录身份</b>: <asp:RadioButton ID="RadioButton2"
runat="server" GroupName="user"
oncheckedchanged="RadioButton2_CheckedChanged" Text="管理员"
CssClass="style3" Font-Bold="True" />
<asp:RadioButton ID="RadioButton1" runat="server" GroupName="user"
oncheckedchanged="RadioButton1_CheckedChanged" Text="考生" CssClass="style3"
Font-Bold="True" />
<br />
<br />
<asp:Button ID="Button1" runat="server" Height="24px" Text="进 入" Width="73px"
BackColor="#0000CC" Font-Bold="True" BorderColor="White"
ForeColor="White" onclick="Button1_Click" />
<br />
</span>
<br />
</div>
</form>
</body>
</html> 展开
<!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 runat="server">
<title>Welcome</title>
<style type="text/css">
.style2
{
font-family: 宋体;
font-size: medium;
text-align: center;
}
.style3
{
font-family: 宋体;
font-size: x-large;
}
.style5
{
font-family: 方正舒体;
font-weight: bold;
font-size: xx-large;
}
.style7
{
font-size: x-large;
}
</style>
</head>
<body style="background-image: url('./App_Data/1280_800_2511.jpg'); height: 687px; width: 1230px;">
<form id="form1" runat="server">
<div class="style2"
style="height: 687px; width: 1230px;">
<br />
<br />
<br />
<br />
<br />
<br />
<span class="style5">欢迎进入程序设计课程教学评价系统</span><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<span class="style7"><b> 登录身份</b>: <asp:RadioButton ID="RadioButton2"
runat="server" GroupName="user"
oncheckedchanged="RadioButton2_CheckedChanged" Text="管理员"
CssClass="style3" Font-Bold="True" />
<asp:RadioButton ID="RadioButton1" runat="server" GroupName="user"
oncheckedchanged="RadioButton1_CheckedChanged" Text="考生" CssClass="style3"
Font-Bold="True" />
<br />
<br />
<asp:Button ID="Button1" runat="server" Height="24px" Text="进 入" Width="73px"
BackColor="#0000CC" Font-Bold="True" BorderColor="White"
ForeColor="White" onclick="Button1_Click" />
<br />
</span>
<br />
</div>
</form>
</body>
</html> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询