居中显示

This commit is contained in:
wlx 2011-10-29 07:16:26 +00:00
parent 9d2a86ed67
commit 791a74cceb
3 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,4 @@
#index{width:1000px;margin:0 auto;}
.logo{float:right;margin-left:10px;margin-bottom:15px;text-align:center;}
.preface
{
@ -32,12 +33,13 @@ h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(/images
#forumcontent
{
float:left;
padding:10px;
padding:10px;
width:600px;
border-bottom:1px dotted gray;
}
#forumcontent ul
{
list-style:none;
list-style:decimal;
padding-left:10px;
}
#forumintro
@ -64,7 +66,7 @@ h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(/images
}
#leftPanel{margin-left:10px;float:left; width:200px;}
#leftPanel .title
#leftPanel .title, h3
{
border-bottom: #5D657C 1px solid;
border-top: #5D657C 1px solid;
@ -74,10 +76,11 @@ h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(/images
padding-left: 15px;
font-weight: bold;
margin-bottom: 0px;
background-color: #e6edea;
background-color: #e6edea;
overflow:hidden;
}
#rightPanel
{
float:left;
margin-left:20px;
margin-left:20px;
}

View File

@ -1,3 +1,4 @@
#index{width:1000px;margin:0 auto;}
#leftPanel{float:left; width:220px;}
#leftPanel .title
{

View File

@ -36,7 +36,7 @@ input.q{width:200px;}
#abstract{width:100%;overflow:hidden;}
#abstract p {text-indent:24px;font-size:12px;line-height:24px;}
#abstract p img.thumb{float:left;margin-right:10px;}
#abstract p img.thumb{float:right;margin-left:10px;}
.reviewlist {width:100%;overflow:hidden;margin:0 auto; float:left;}
.reviewlist li:nth-child(even) {}