내 머리글이 어디에도 나타나지 않습니다. 나는 그것을 고치는 법을 알고 싶다.크기 조정 CSS
body {
background-color: antiquewhite;
font-size: 100%;
width: 100%;
height: auto;
}
nav {
height: 8%;
width: 100%;
position: fixed;
display: block;
background-color: grey;
z-index: 1000;
}
header {
width: 100%;
background-image: url("https://placehold.it/50/50");
}
<nav>
<h1>...</h1>
</nav>
<header>
</header>
Google에 HTML을 제공하지 않고 어떻게 도와 드릴 수 있습니까? 전체 코드를 제공하십시오. –
내 모든면에서 모두 괜찮아요. 이미지 경로'url'을 제대로 전달하고 있습니까? –
'header'에는 높이가 없습니까? –