From 90895ab827a42619f66dbeea7f051f222709469b Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 31 Dec 2012 03:42:35 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E9=A1=B5css?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/css/index.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/css/index.css b/htdocs/css/index.css index 5a064630..5a7301e9 100755 --- a/htdocs/css/index.css +++ b/htdocs/css/index.css @@ -1,4 +1,4 @@ -#index{width:960px;margin:0 auto;} +#index{width:960px;margin:0 auto; overflow:hidden;} #leftPanel{width:200px;margin:0 10px;float:left;overflow:hidden;} #sidebar{width:200px;margin-left:5px;float:right;padding:5px;overflow:hidden;} #sidebar .item{margin-left:15px;} @@ -130,6 +130,7 @@ input{background:#ECF0F5;margin-bottom:6px;} dd,dt{margin:0;} #dataLink dd {padding-bottom:5px;margin-left:5px;margin-top:-5px;} +.slides_container{width:520px; overflow:hidden;} #slides {overflow:hidden;height:330px;} #slides .slide{width:520px;} #slides .slide {overflow:hidden;} @@ -142,7 +143,7 @@ dd,dt{margin:0;} #slides .slide .description h2 a:hover{color:#444;background:#FFF} #slides .slide .description h2 span{font-size:12px;} #slides .slide .description{float:left;color:#dedede} - #slides .pagination {position:absolute;top:300px;} + #slides .pagination {position:absolute;top:300px;width:520px;} #slides .pagination li{width:14px;height:18px;line-height:18px; text-align:center;padding:2px;float:left;border:1px solid #dedede; margin:2px;} #slides .pagination li a{color:#777;} #slides .pagination li.current{background:#444;}