++++++++++++++++++++++++++++++++++++
+ + + +
+ + + +
+ Left + Content + Right +
+ + + +
+ + + +
++++++++++++++++++++++++++++++++++++
왼쪽 및 오른쪽 패널이 아니라 내용을 스크롤한다고 가정합니다. 왼쪽 및 오른쪽 패널에 고정 된 위치를 사용할 수 있습니다.
그래서 u는 페이지가 스크롤 될 때마다 콘텐츠 패널 만 스크롤 할 것이며 오른쪽 패널은 고정되어 있기 때문에 왼쪽 패널이 아닌 &이됩니다.
<html>
<head>
<style>
html,body,div
{
padding:0px;
margin:0px;
}
#left_panel, #right_panel
{
width:19%;
display:inline-block;
background-color:#22435D;
height:50%;
position:fixed;
}
#center_panel
{
margin-left:20%;
width:60%;
display:inline-block;
height:150%;
background-color:white;
color:#22435D;
border:1px solid #22435D;
}
</style>
</head>
<body>
<div id="left_panel">
</div>
<div id="center_panel">
you content goes here
<br/>
you content goes here
<br/>
you content goes here
<br/>
you content goes here
<br/>
you content goes here
<br/>
you content goes here
<br/>
you content goes here
<br/>
you content goes here
</div>
<div id="right_panel">
</div>
</body>
</html>
이제 페이지를 스크롤하면 중앙 패널 만 스크롤됩니다.