日期:2014-05-18  浏览次数:20430 次

我快崩溃了,为何css文件全局申明没有起到作用???!!
<%@   Master   Language= "VB "   CodeFile= "content.master.vb "   Inherits= "content "   %>

<!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= "Content-Type "   content= "text/html;   charset=gb2312 "   />
        <title> JellyKenny   Bridal </title>
        <link   href= "css/Css.css "   rel= "stylesheet "   type= "text/css "   />
</head>
<body>
                  <form   id= "form1 "   runat= "server ">
<div   id= "header "> </div>
<div   id= "menu ">
          <div   id= "nav ">
                  <asp:Repeater   ID= "Repeater1 "   runat= "server ">
                  <ItemTemplate   >
                <a   href   = ' <%#DataBinder.Eval(Container, "DataItem.Url ")%> '>   <%#DataBinder.Eval(Container, "DataItem.ClassName ")%> </a>
                  </ItemTemplate>
                  </asp:Repeater>
            </div>
</div>
<div   id= "left ">
          <div   id= "left_top ">
          </div>
</div>
<div   id= "container ">
          <div   id= "content ">

 
                <asp:contentplaceholder   id= "ContentPlaceHolder1 "   runat= "server ">
                </asp:contentplaceholder>


          </div>
</div>
<div   id= "right ">
          <div   id= "right_top "> </div>
          <div   id= "right_bottom "> </div>
</div>
<div   id= "copyright "> @2006-2007.     All   rights   reserved. <br   /> Best   viewed   by   1024   *   768   IE5.0   +   </div>
        </form>
</body>
</html>


+++++++++++++++++++++++++++css/Css.css文件+++++++++++
/*全局样式*/
html,   body{
border:0px;
margin:0px;
padding:0px;
text-align:center;
}
div{
font-size:9pt;
font-family:Tahoma,   "宋体 ";
text-align:c