css代码在设计视图里显示,但是在运行网页后就不显示,求各位达人解释啊
css代码在设计视图里显示,但是在运行网页后就不显示,求各位达人解释啊,就是foot那个部分不显示
下面是我母版
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Frontend.master.cs" Inherits="MasterPages_Frontend" %>
<!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></title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<link href="../App_Themes/Blue1/Blue1.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div id="PageWrapper">
<div id="Header"><a id="A1" href="~/" runat="server"></a></div>
<div id="MenuWrapper"></div>
<div id="Navigation">
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1">
</asp:TreeView>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</div>
<div id="MainContent">
<asp:ContentPlaceHolder id="cpMainContent" runat="server">
</asp:ContentPlaceHolder>
</div>
<div id="Foot">hello</div>
</div>
</form>
</body>
</html>
下面是我的css文件
*
{
/*
Defines the main font used throughout the entire site
*/
font-family: Arial, Sans-Serif;
}
body
{
/*
Clears white space around the body and gives it a dark gray color.
*/
margin: 0;
background-color: #85BFD3;
}
a
{
/*
Clears the underline on normal links, and gives them a purple text color.
*/
text-decoration: none;
color: #4628C4;
}
a:hover
{
/*
Underlines links when the user hovers the mouse over them.
*/
text-decoration : underline;
}
h1
{
/*
Makes h1 elements smaller than their browser default.
*/
font-size : 20px;
}
h2
{
/*
Gives h2 elements a different background color and size,
and adds a bit of margin at the top to create room between the heading and the preceding element.
*/
font-size : 14px;
color : #7773A1;
margin-top : 10px;
}
#PageWrapper
{
/*
Sets the total width for the entire page. Also sets the background-color
which is used to fill the background of the Sidebar in case the MainContent block is taller than the Sidebar.
Uses margin: auto to center the entire page in the middle of the browser's window.
*/
width: 900px;
margin: auto;
}
#Header
{
/*
Gives the header the same width as the PageWrapper. The height creates some room for the logo
that is set with the background-image.
*/
backgr