修复首页css样式问题

This commit is contained in:
Li Jianxuan 2012-12-31 03:42:35 +00:00
parent c04d60d64b
commit 90895ab827
1 changed files with 3 additions and 2 deletions

View File

@ -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;}