내 사이트 스타일 시트가 모든 브라우저에서 무시되고 있습니다. 테스트 한 결과입니다. IE9에서 테스트 할 때이 오류가 발생합니다 - SEC7113 : CSS가 MIME 유형 불일치로 인해 무시되었습니다.mime 형식이 일치하지 않아 CSS가 무시되었습니다.
여기에 참조하는 헤더의 html이 있습니다. 당신이 더 가야할 필요가 있으면 알려주세요.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
<title></title>
<!--The style sheet below is the one being ignored-->
<link rel="stylesheet" type="text/css" charset="UTF-8" href="Styles/Site.css" />
<!-- Skin CSS file -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/assets/skins/sam/skin.css" />
<!-- Utility Dependencies -->
<script src="http://yui.yahooapis.com/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>
<!-- Needed for Menus, Buttons and Overlays used in the Toolbar -->
<script src="http://yui.yahooapis.com/2.9.0/build/container/container_core-min.js"> </script>
<script src="http://yui.yahooapis.com/2.9.0/build/menu/menu-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/button/button-min.js"></script>
<!-- Source file for Rich Text Editor-->
<script src="http://yui.yahooapis.com/2.9.0/build/editor/editor-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/editor/simpleeditor-min.js"></script>
</head>
개인 서버에 있나요? CSS 파일을 올바른 MIME 형식으로 보내지 않았을 수 있습니다. – TheZ
서버는 무엇입니까? [.htaccess 파일] (http://wiki.joyent.com/display/gen/Configuring+MIME+Types+in+.htaccess)을 바꿀 수 있습니까? –
상대 경로 대신 절대 경로를 넣으려고합니다. – debianek