그래서 세 div가 있습니다하위 div가 상위 div로 확장되지 않음
한 부모와 두 자녀가 있습니다. 부모 DIV 내가 말까지 그것의 국경을 볼 수있는 100 % 확장
#child1 {
overflow:auto;
min-height:150px;
border-bottom:1px solid #bbb;
background-color:#eee;
opacity:0.4;
}
#child2 {
height:100%;
background-color:white;
}
다음과 같이
#parent {
overflow:auto;
margin: 0 auto;
margin-top:37px;
min-height: 100%;
width:875px;
}
두 아이의 div의는 다음과 같이
부모입니다 page하지만 child2는 부모 div처럼 페이지 끝까지 확장되지 않습니다.
짐작 하시겠습니까? 다음과 같이하십시오. http://stackoverflow.com/questions/643879/css-to-make-html-page-footer-stay-at-bottom-of-the -page-with-a-minimum-height – jmacinnes
아니요, 두 번째 자식 div가 부모 높이까지 완전히 늘어나지 않고 내가 입력 한 각 줄이 div를 확장합니다. 그 외에도 div는 확장되지 않습니다. – DemCodeLines