• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

도와주세요ㅜㅜ

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 {
  height64px;
  background-color: black;
}

#body {
  height100%;
  background-color: blue;
}
#footer {
  height200px;
  background-color: red;
}

답변 3

·

답변을 작성해보세요.

3

codesweaver님의 프로필

codesweaver

2021.04.06

CSS파일이 열리지 않아서 생기는 문제입니다.

link 태그 작성하실 때 오타가 있습니다.

<link> 태그의 herf="style.css" 를 href="style.css" 로 바꾼 후 다시 열어보시기 바랍니다.

1

방주연님의 프로필

방주연

질문자

2021.04.06

와ㅠㅠㅠ감사합니다

0

잘 해결되셨다니 다행이네요 😀