피곤합니다. CSS가 HTML로 가져 오지 않습니다. 최대 보여줍니다 모든은 다음과 같습니다 (다른 라인에) 시험 시험 시험 또한, CSS 모두가 그리드에 920.gs입니다 :CSS를 HTML로 가져 오지 못함
<!DOCTYPE html>
<html>
<head>
<title>Some title</title>
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
</head>
<body>
<div class="container_12" id="content">
<div class="grid_3" id="leftside">
<h1>Test</h1>
</div>
<div class="grid_6">
<h1>Test</h1>
</div>
<div class="grid_3" id="rightside">
<h1>Test</h1>
</div>
</div>
</body>
</html>
Annnd는 CSS :
@import url("http://fonts.googleapis.com/css?family=Days+One&effect=font-effect-fire- animation");
@import url("css/grid.css"")
body {
background-attachment:fixed;
background-repeat:no-repeat;
background-color:#7FA8FF;
background-position:top;
background-image:url("../images/background.png");
text-align: center;
font-family: 'Days One', sans-serif;
}
상대 경로의 시작 부분에 "/"가있는 파일을 참조하고 있으므로 절대 경로로 바뀔 수 있습니다. 서버 루트를 검색 할 수 있습니다. 파일로드 실패에 대해 Chrome 개발자 도구를 확인 하시겠습니까? – Taz