Asp.net css在FF和chrome中工作,但不在IE 8中加载
我在我的aspx页面中使用此css路径:Asp.net css在FF和chrome中工作,但不在IE 8中加载,asp.net,css,Asp.net,Css,我在我的aspx页面中使用此css路径: <link href="Styles/960.css" rel="stylesheet" type="text/css" /> <link href="Styles/style.css" rel="stylesheet" type="text/css" /> 请向我推荐解决方案。为了让选择器在IE8中工作,您需要指定: 它在我的本地计算机@suresh.gh上。你怎么知道它没有加载到IE中?因为页面元素@fyod
<link href="Styles/960.css" rel="stylesheet" type="text/css" />
<link href="Styles/style.css" rel="stylesheet" type="text/css" />
请向我推荐解决方案。为了让选择器在IE8中工作,您需要指定:
它在我的本地计算机@suresh.gh上。你怎么知道它没有加载到IE中?因为页面元素@fyodorsoikin上没有应用样式设置。你可以看看IE的开发人员控制台,看看是否有任何错误吗?使用开发人员工具查看后台发生了什么。。好的,我还有一个想法-IE是否以兼容模式显示页面?
:focus {/* remember to define focus styles! */
outline: 0;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
font-weight: normal;
text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
a img {
border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
@font-face {
font-family: "homenaje";
src: url('fonts/Homenaje-Regular.ttf') ;
}