전체 화면 CSS 레이아웃을 만들고 싶습니다.전체 화면 CSS 레이아웃
<div id="divLeft">LEFT is ok</div>
<div id="divRight">
<div id="divTop">TOP is ok</div>
<div id="divCenter">CENTER should have liquid height</div>
<div id="divBottom">BOTTOM should be always bottom</div>
</div>
CSS
html{
height:100%
}
body{
height:100%
}
#divLeft{
float:left;
width:70px;
height:100%;
background:#6c9;
}
#divRight{
margin-left:70px;
height:100%;
background:#999;
color:#fff;
}
#divTop{
background:red;
text-align:right;
}
#divCenter{
background:blue;
text-align:center;
}
#divBottom{
background:green;
text-align:center;
}
그래서, 문제는 #divCenter
(이 있어야 액체 높이) 및 #divBottom
(화면 하단에 항상 있어야한다)으로한다.
뭔가? http://jsfiddle.net/gpwD4/5/ – Adrift
@SunSky는'position : absolute'와 최하위 0px로 시도합니다. http://jsfiddle.net/Bonaca/gpwD4/4/ .. 수다쟁이가 훨씬 더 좋습니다 :) – swapnesh
@Adrift 좋은 일, 당신은 대답으로 게시해야합니다 :) – Praveen