我是 asp.net 的新手!按照教程http://www.youtube.com/watch?v=aUx2Bdx68f4我已经编写了成功构建的代码!但是当我执行此操作时它显示以下错误:
样式表
body
{
font-family: 'lucida grande' ,tahoma,verdana,arial,sans-serif;
background-color: #e9e9e9;
}
#wrapper
{
width: 1080px;
margin: 0 auto;
padding:10px;
border: 5px solid #dedede;
background-color: #fff;
}
#banner
{
height: 200px;
border: 3px solid #e3e3e3;
background-image:url(../Styles/kk.jpg);
background-repeat: no-repeat;
background-size : cover;
}
#navigation
{
height: 60px;
border: 3px solid #e3e3e3;
margin-top:20px;
background-image:url(../Styles/kk.jpg);
}
#content_area
{
float: left;
width: 750px;
margin: 20px 0 20px 0;
padding: 10px;
border: 3px solid #e3e3e3;
}
#sidebar
{
float: right;
width: 250px;
height:400px;
margin:20px 10px 20px 10px;
border: 3px solid #e3e3e3;
}
#footer
{
clear:both;
width: auto;
height:40px;
margin-top:20px;
background-image:url(../Styles/kk.jpg);
}
母版页代码
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>My Website</title>
<link rel= "StyleSheet1" type="text/css" href ="~/Style/StyleSheet1.css" />
</head>
<body>
<form id="form1" runat="server">
<div id="wrapper">
<div id="banner">
</div>
<ul id="navigation">
</ul>
<div id="content_area">
</div>
<div id="sidebar">
</div>
<div id="footer">
<p> All rights reserved.</p>
</div>
</div>
</form>
</body>
</html>
谁能帮我解决我的问题?