还是不知道具体怎么改呃...
这是我皮肤的layout.css代码: 高手帮忙改下 使得侧栏和主栏平行
复制内容到剪贴板
代码:
#container{
width:100%;
margin:0 auto;
text-align:center;
background-color: #ffffff;
background-image: url(home-bg.gif);
background-repeat: no-repeat;
background-position: top;
}
#FlashHead{position: absolute;width:100%;left:0px;}
/*---顶部样式---*/
#container #header{
width:830px;
text-align:left;
height: 147px;
background-repeat: no-repeat;
background-position: top;
position: relative;
}
/*---菜单分割线---*/
/*---内容样式---*/
#container #Tbody{text-align:left; margin:0 auto; display:block; width:840px;}
/*---工具条--*/
#sidebar{
float:right;
width:200px;
text-align:center;
color:#fc5f9a;
text-align:center;
}
#innersidebar{ text-align:center;}
#sidebar-topimg{}
#sidebar-bottomimg{}
/*---工具箱样式--*/
.sidepanel{font-size:12px; line-height:150%; text-align:center; display:block; }
.Ptitle{text-align:left; height:10px; line-height:150%; background:#FFEEEE repeat-x 0 0px; clear: both; font-size:12px; display:block; text-transform: uppercase;}
.Pcontent{text-align:left; display:block; }
.Pfoot{display:none;}
/*---主内容--*/
#mainContent{width:610px;float:left; }
#innermainContent{width:610px;float:left;}
#mainContent-topimg{OVERFLOW: hidden; }
#mainContent-bottomimg{OVERFLOW: hidden; }
.content-width{}/*--主内容元素的全局宽度--*/
/*---主内容页数--*/
.pageContent{
height:10px;
line-height:150%;
display:block;
padding:0 10px ;
background:url(dot.png) repeat-x 0 17px;
}
.NavTitle{}
.page{}
.page ul{}
.page ul li{}
.page ul li.PageL {}
.page ul li.PageR {}
.PageLbutton{ }
.PageRbutton{ }
/*---内容框--*/
.Content{ text-align:left; margin:10px 0; clear:both; }
/*---日志标题框--*/
.Content-top{font-size:12px;
height:24px;
display:block ; padding:0 10px ;
background:#fde5ee;
}
.Content-top .ContentLeft{}
.Content-top .ContentRight{}
.Content-top .ContentTitle{float:left; font-size:12px; margin-top:4px;}
.Content-top .ContentAuthor{font-size:12px; float:right ; color:#999999;margin:4px 5px 0 0; font-weight:normal;}
/*---日志内容框--*/
.Content-body{clear: both;padding:0px; display:block; text-align:left; OVERFLOW: hidden; line-height:220%; width:610px; }
/*---日志内容底部--*/
.Content-bottom{text-align:right; padding:2px 10px; display:block; border-bottom:1px solid #dddddd;}
.Content-bottom .ContentBLeft{}
.Content-bottom .ContentBRight{}
/*---日志其他信息--*/
.Content-Info {display:block ; height:24px;text-align:left; background:#f9f9f9;line-height:150%;}
.Content-Info .InfoAuthor{display:inline;}
.Content-Info .InfoOther{display:inline; margin:0 10px;}
/*--评论框--*/
.comment{text-align:left; display:block;margin:0 auto; }
.commentinfo{ margin:0 10px; }
.commenttop{background:#e9e9e9 ;height:22px; display:block; padding:3px 0 0 10px;}
.commentcontent{ padding:10px;background:#f9f9f9 ;}
/*---UBB框--*/
.UBBPanel{}
.UBBTitle{}
.UBBContent{}
.UBBContent TEXTAREA {}
:link.UBBLink,:visited.UBBLink{}
/*---信息框--*/
#MsgContent{background:#f9f9f9 ; display:block ; margin:10px 0; border:1px solid #ccc; }
#MsgContent #MsgHead{height:24 px;background: repeat-x;
border-bottom:1px solid #ccc; font-weight:bold; line-height:200%;padding-left:10px; }
/*信息框图标以及文字*/
.MessageText{}
.MessageIcon{}
.ErrorIcon{}
.WarningIcon{}
.QuestionIcon{}
/*---底部样式---*/
#container #foot{
color:#000000;
clear: both;
background: no-repeat center ;
line-height:150%;
height:50px;
margin:0 auto;
padding:0 0 0 130px;
}
#container #foot p{margin-top:25px; float:left;}
#container #foot a{color:#000000;}
/*---文件上传框样式---*/
.attachmentBody{
margin:0px;font-size:12px;background:#F8F6E9
}
#Side_Search .Pcontent{position: absolute;width:100%; top:4px; right:20px;text-align:right;}
#Side_Search .Ptitle,#Side_Search .Pfoot{display:none;}[
本帖最后由 佑曦 于 2008-8-17 16
编辑 ]