-
카테고리
-
세부 분야
풀스택
-
해결 여부
미해결
도와주세요ㅜㅜ
21.04.06 17:02 작성 조회수 119
1
영상보고 따라했는데 색 없이 흰 바탕만 나와요ㅠㅠ
<html>
<head>
<title>그랩마켓</title>
<link herf="index.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="header"></div>
<div id="body"></div>
<div id="footer"></div>
</body>
</html>
여긴 css에요#header {
height: 64px;
background-color: black;
}
#body {
height: 100%;
background-color: blue;
}
#footer {
height: 200px;
background-color: red;
}
답변을 작성해보세요.
3
codesweaver
2021.04.06
CSS파일이 열리지 않아서 생기는 문제입니다.
link 태그 작성하실 때 오타가 있습니다.
<link> 태그의 herf="style.css" 를 href="style.css" 로 바꾼 후 다시 열어보시기 바랍니다.
1
0
답변 3