난 내가 가진 배경 문제를 가지고하는 #container 요소가 :CSS 창 높이
html {
font-family: Arial, sans-serif;
height:100%;
}
body{
margin: 0 auto;
padding: 0;
font-size: 12px;
height:100%;
background:url(/_images/body-bg.jpg) top center no-repeat;
/*background:#0068b3;
background: -webkit-gradient(linear, left top, left bottom, from(#bfd9ed), to(#0068b3));
background: -moz-linear-gradient(top, #bfd9ed, #0068b3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bfd9ed', endColorstr='#0068b3')*/
}
#container {
width:995px;
margin: 0 auto;
padding: 0;
height:100%;
position:relative;
}
난 배경 이미지가 #container에 추가하고 페이지에서 배경 스크롤 필요한 콘텐츠가있는 경우 이미지는 창 높이의 양만 표시하고 스크롤하면 배경 이미지가 표시되지 않습니다.
왜 그럴까요?
'height : 100 %; ' –
'반복 없음'을 삭제 해보세요. –