请问csdn.net论坛主界面的分栏css怎么写
主界面的宽度为:width: 100%;(不能设置固定的宽度),右边栏也不能固定宽度,根据显示器的分辨率自动调整。
主要是左边栏 和 右边栏 ,中间还有一个“显示/隐藏”列,以下是我的现在的代码,请大家修正一下,谢谢
#page(整个页面)
{
width: 100%;
background-color: #fff;
margin: 1px auto 0px auto;
/*border: 1px solid #496077;*/
}
#leftcolumn(左边栏)
{
color : #333;
border-left : 1px solid #ccc;
background : #b2c5c4;
min-height : 627px;
width : 200px;
float : left;
}
#rightcolumn(右边栏)
{
float : right;
color : #333;
min-height : 350px;
width : 880px;
display : inline;
padding-bottom : 5px;
}