在空间设计过程中,我们有时需要调整一下整个空间的宽度,这样能够产生一种特殊的视觉效果。下面我找了一些资料,大家可以拿去试试。
找到.stage,修改成
.stage{ text-align:center;margin-bottom:85px;background:url() repeat-y center;}
/*外边框*/
.stagepad{
width:700px !important;
width:600px;
margin:0 auto;
}
700PX就是页面宽度了,可以自己调整,注意修改后标题背景图片最好和这个宽度一致.
或者用css的边距属性margin来控制.
在以下代码
#header
.stage
#tab2
的值里加入MARGIN:0px 60px; 就可以调整百度空间的显示宽度, 60px可以修改成你想要的数据!
找到.stage,修改成
.stage{ text-align:center;margin-bottom:85px;background:url() repeat-y center;}
/*外边框*/
.stagepad{
width:700px !important;
width:600px;
margin:0 auto;
}
700PX就是页面宽度了,可以自己调整,注意修改后标题背景图片最好和这个宽度一致.
或者用css的边距属性margin来控制.
在以下代码
#header
.stage
#tab2
的值里加入MARGIN:0px 60px; 就可以调整百度空间的显示宽度, 60px可以修改成你想要的数据!