我写得多多学习共同进步
@charset "utf-8";
/* 默认样式 */
body{margin:0;font: normal 12px "Lucida Grande",Tahoma,Verdana,Lucida,Arial,Helvetica,sans-serif;}
img{ border:0px;}
p,em,span,form,select,input,option,ul,li,dd,dt,dl,h1,h2,h3,h4,h5,h6{ margin:0; padding:0;}
ul li{list-style-type: none;}
.clear{ clear:both;}
.hidden{display: none;}
.pointer{cursor

ointer}
/*链接样式*/
a{text-decoration: none;cursor

ointer; }
a:link,a:visited {text-decoration: none;cursor

ointer; color:#0066CC;}
a:hover { text-decoration:underline;cursor:pointer;}
/*边框颜色*/
.b{ border:1px solid #95C6E4;}
/*框架样式*/
#all{ width:950px; margin:0 auto; display:table;font-size:9pt; color:#0066CC;}
.header{ display:block}
.main{ display:block;}
.footer{ display:block}
/*头部样式*/
.header .top_{ height:25px; background:#1B6892;}
.header .sub_{ line-height:25px; padding-left:25px; color:#C5E7F1; width:200px;}
.header .title_{ height:81px; background:url(../images/logo_gb.gif) repeat-x; overflow:hidden; clear:both}
.header .logo{ width:109px; float:left; margin:20px 0 0 40px; display:inline}
.header .themes{ width:480px; float:left; margin:10px 0 0 30px; display:inline}
.header ._right{ width:205px; float:left; margin:6px 0 0 50px; display:inline}
.header ._right a{ background:url(../images/icp.gif) no-repeat; width:65px; height:58px; float:left}
.header ._right a.a1,.header .blog_right a.a1:visited{ background-position:-7px 0}
.header ._right a.a1:hover{ background-position:-7px -60px;}
.header ._right a.a2,.header .blog_right a.a2:visited{ background-position:-85px 0}
.header ._right a.a2:hover{ background-position:-85px -60px;}
.header ._right a.a3,.header .blog_right a.a3:visited{ background-position:-160px 0}
.header ._right a.a3:hover{ background-position:-160px -60px;}
.header .menu{ height:43px; background:url(../images/menu_bg.gif) repeat-x;}
.header .menu ul{ margin-left:25px; }
.header .menu li{ float:left; display:block; height:43px; cursor:pointer}
.header .menu li a,.header .menu li a:visited{padding:11px 15px 10px 15px; font-size:9pt; font-weight:bold; color:#017BC4; display:block;}
.header .menu li a:hover{ background:url(../images/hover.gif) repeat-x; color:#fff; font-weight:bold;font-size:9pt; text-decoration:none; display:block}
.header .menu li a.h{ background:url(../images/hover.gif) repeat-x; color:#fff; font-weight:bold;font-size:9pt; text-decoration:none; display:block}
/*主体样式*/
.main{ border-top:1px solid #95C6E4; background:url(../images/main_bg.gif) repeat-x; margin-top:5px;}
.main .left{ width:230px; float:left;}
.main .center{ width:470px;float:left; margin-left:10px; display:inline;}
.main .right{ float:right; width:230px;}
ul.list{ height:28px; border-left:1px solid #95C6E4;}
ul.list li.msg_1{font-size:9pt; color:#0077C0; font-weight:bold; height:26px; line-height:28px; text-indent:2.5em; background:url(../images/pic_msg1.gif) no-repeat 10px center;}
ul.sidebar li{ background:url(../images/line.gif) repeat-x bottom; padding:5px 0;width:225px; white-space:nowrap; overflow:hidden;}
ul.sidebar li a{background:url(../images/bi.gif) no-repeat 10px center; padding-left:24px}
ul.list_r{ height:28px; border-right:1px solid #95C6E4;}
ul.list_r li.msg_1{font-size:9pt; color:#0077C0; font-weight:bold; height:26px; line-height:28px; text-indent:2.5em; background:url(../images/msgr.gif) no-repeat 10px center;}
.left ul.search{ margin-top:10px; padding-bottom:8px;}/*高度以后要去掉*/
.left ul.search li.tab{ background:url(../images/tab.gif) no-repeat 10px center #D9F4F9; text-indent:2.5em; line-height:25px; border-bottom:1px solid #95C6E4;}
.left ul.search li.tab_li,.left ul.search li.tab_t{ margin:8px 5px}
.left ul.search li.tab_li input{ background:url(../images/input_bg.gif) repeat-x; width:160px; padding:2px; border:1px solid #ccc;}
.left ul.search li.tab_t select{ width:80px; background:#ccc}
.left ul.search li.tab_t input{ background:url(../images/search.gif) no-repeat; width:68px; height:22px; border:none; cursor:pointer; margin-left:10px}
ul.hot{ margin-top:10px;}
ul.hot .title{ height:27px; background:url(../images/at.gif) repeat-x;}
ul.hot h4{background:url(../images/ho.gif) no-repeat 10px center; text-indent:2.5em; line-height:29px; height:25px; font-size:9pt;color:#0077C0; }
ul.hot li{ background:url(../images/line.gif) repeat-x bottom; line-height:25px; width:225px; white-space:nowrap; overflow:hidden;}
ul.hot li a{background:url(../images/bi.gif) no-repeat 10px center; padding-left:25px}
.left ul.guild{ padding:5px; margin-top:10px}
.left ul.guild a{ margin-right:10px;}
.hidden{display:none;}
.center .from_pic{ width:470px; margin-top:28px;}
ul.scrollUl{height:27px; background:url(../images/menu_bg2.gif) repeat-x 0 bottom;}
ul.scrollUl li{ float:left; cursor:pointer; width:95px; margin-right:2px; overflow:hidden; position:relative; top:0.1em; padding:5px 0 3px 10px;}
*html ul.scrollUl li{padding-bottom:4px} /*IE6*/
.sorc{ background:#F6FBFF;}
.sd1{ background:url(../images/top.gif) repeat-x; border-top:1px solid #95C6E4; border-right:1px solid #95C6E4;border-left:1px solid #95C6E4;font-weight:bold; border-bottom:1px solid #F6FBFF; }
.sd{background:url(../images/bottom.gif) repeat-x; border-top:1px solid #95C6E4; border-right:1px solid #95C6E4;border-bottom:1px solid #95C6E4;border-left:1px solid #95C6E4;font-weight:bold;}
.sd1 img,.sd img{ padding-right:6px;}
#cont_1 ul{ margin:10px 0; padding:0 10px;}
#cont_1 ul li{background:url(../images/b_i.gif) no-repeat 0 center; display:block;padding: 7px 0 7px 0;}
#cont_1 ul li a{background:url(../images/line.gif) repeat-x bottom; padding-left:20px;display:block;}
#cont_1 ul li a:hover{color:#000066; text-decoration:none;}
#cont_1 ul li span{ float:right;}
#cont_2 ul{ margin:10px 0; padding:0 10px;}
#cont_2 ul li{background:url(../images/b_i.gif) no-repeat 0 center; display:block;padding: 7px 0 7px 0;}
#cont_2 ul li a{background:url(../images/line.gif) repeat-x bottom; padding-left:20px;display:block;}
#cont_2 ul li a:hover{color:#000066; text-decoration:none;}
#cont_2 ul li span{ float:right;}
.sid_1{ margin-top:10px;}
.bo_title{ background:url(../images/hot.gif) repeat-x; height:25px; line-height:25px; padding-left:5px;font-size:9pt;color:#0077C0;}
.bo_title h4.los{ background:url(../images/sid.gif) no-repeat 0 center; height:25px; line-height:25px; font-size:9pt;color:#0077C0; padding-left:20px}
.sid_1 ul{ padding:0 10px; margin:5px 0;}
.sid_1 ul li{background:url(../images/bi.gif) no-repeat 0 center;}
.sid_1 ul li a{line-height:25px; height:25px; background:url(../images/line.gif) repeat-x bottom; display:block; text-indent:1.7em;}
/*页脚样式*/
.footer{ margin-top:10px; margin-bottom:20px; clear:both}
.link{ background:url(../images/line_bg.gif) repeat-x; height:65px; padding:0 5px;}
.link .tit_line{ font-size:9pt; font-weight:bold; text-indent:1em; line-height:25px;}
.link a{ padding:5px;}
.copyright{ margin-top:10px; height:60px; background:#1b6892; text-align:center; padding-top:10px; color:#C5E7F1}
.copyright a,.copyright a:visited{ padding:5px; line-height:28px;color:#C5E7F1}
[
本帖最后由 ixiaoyu 于 2008-6-10 15:36 编辑 ]