居中显示

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;} .logo{float:right;margin-left:10px;margin-bottom:15px;text-align:center;}
.preface .preface
{ {
@ -33,11 +34,12 @@ h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(/images
{ {
float:left; float:left;
padding:10px; padding:10px;
width:600px;
border-bottom:1px dotted gray; border-bottom:1px dotted gray;
} }
#forumcontent ul #forumcontent ul
{ {
list-style:none; list-style:decimal;
padding-left:10px; padding-left:10px;
} }
#forumintro #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{margin-left:10px;float:left; width:200px;}
#leftPanel .title #leftPanel .title, h3
{ {
border-bottom: #5D657C 1px solid; border-bottom: #5D657C 1px solid;
border-top: #5D657C 1px solid; border-top: #5D657C 1px solid;
@ -75,6 +77,7 @@ h2 a, h2 a:visited{padding-right:20px;color:#808080;background-image:url(/images
font-weight: bold; font-weight: bold;
margin-bottom: 0px; margin-bottom: 0px;
background-color: #e6edea; background-color: #e6edea;
overflow:hidden;
} }
#rightPanel #rightPanel
{ {

View File

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

View File

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