Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] DZ顶图怎么居中固定啊

[复制链接]
Dorothyhui 发表于 2012-8-22 20:27:24 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: 其他(帖子中请注明浏览器) 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://www.soqrikingdom.com/forum.php
求大神帮忙啊,今晚真的要被搞疯了
首图愣是没法居中
站址:http://www.soqrikingdom.com/forum.php
这是CSS代码
body{ background:url({IMGDIR}/eis/eis_bg.png) repeat 0 0;}
.eis_bgtop{ background:url({IMGDIR}/eis/eis_bgtop.jpg) repeat-x 0 0;}

#hd,#hd .wp{ padding-top:0px;}
#hd h2{ width:250px; overflow:hidden; padding:10px 0 0 0;}
#hd h2 { background: url({IMGDIR}/eis/eis_logo1.png)no-repeat center0 0; }
#hd h2 img { opacity: 0; filter: alpha(opacity=0); }

#hd .hdc{  min-height:400px; padding-right: 0px; _padding-right: 0px;}
.ie6 #hd .hdc{ height:400px;}

#hd .avt{ margin-top:0px; display: inline; margin-right: -60px;}
#hd .avt img{ padding:0px; margin:0px; border:2px solid #FFF; background:#FFF}

#eis_nv { overflow: hidden; height:32px; margin-top:24px;}
#eis_nv li { float: left; height:32px; margin:0px 3px 0px 0px; font-weight:100; font-size: 14px; background:url({IMGDIR}/eis/eis_nv_lil.png) no-repeat 0 0;}
        .ie_all #eis_nv li { line-height:35px; }
        .ie6 #eis_nv li { line-height: 32px; }
#eis_nv li a { float: left; padding: 0 15px; height: 32px; line-height:32px; background:url({IMGDIR}/eis/eis_nv_lir.jpg) no-repeat 100% 0;}
#eis_nv li a { color:#fff; }
#eis_nv li span { display: none; }
#eis_nv li.a { background:url({IMGDIR}/eis/eis_nv_a.png) no-repeat 0 0;}
#eis_nv li.a a { background:url({IMGDIR}/eis/eis_nv_ar.jpg) no-repeat 100% 0;}

#eis_nv li:hover{ background:url({IMGDIR}/eis/eis_nv_a.png) no-repeat 0 0;}
#eis_nv li a:hover { text-decoration:none; color:#FFF; background:url({IMGDIR}/eis/eis_nv_ar.jpg) no-repeat 100% 0;}
#eis_nv li.hover{  background:url({IMGDIR}/eis/eis_nv_a.png) no-repeat 0 0;}
#eis_nv li.hover a:hover, #eis_nv li.hover a { text-decoration:none; color:#FFF; background:url({IMGDIR}/eis/eis_nv_ar.jpg) no-repeat 100% 0;}

.ie6 #eis_nv li a:hover{ background:url({IMGDIR}/eis/eis_nv_lir.jpg) no-repeat 100% 0;}
.ie6 #eis_nv li.a a:hover{ background:url({IMGDIR}/eis/eis_nv_ar.jpg) no-repeat 100% 0;}
.ie6 #eis_nv li.hover a:hover{ background:url({IMGDIR}/eis/eis_nv_ar.jpg) no-repeat 100% 0;}
          
.eis_qmenu{ background:none!important;}
.ie8 #qmenu { line-height: 36px; }
#qmenu { clear:both; display:block; width:60px!important; height:32px; line-height:32px!important; margin:0px!important; padding: 0 10px!important; width:auto; line-height: 32px; background:url({IMGDIR}/eis_qmenu.png) no-repeat 0 0!important;}

#eis_avatar_menu{ *width:90px; padding:5px; *padding:5px 3px 5px 0px; background:#F6F6F6; border:2px solid #FFF;}
#eis_avatar_menu li{ *margin-left:-10px; height:23px; line-height:23px; overflow:hidden; list-style:none; border-bottom:1px solid #D8D8D8;}
#eis_avatar_menu li a{ display:block; height:23px; line-height:23px; padding:0px 10px; color:#666; border-top:1px solid #FFF;}
#eis_avatar_menu li a:hover{ background:#4EB9CF; color:#FFF; text-decoration:none;}

.eis_avt{ margin-top:20px;}
.eis_avt a{ float:left; display:block; border:1px solid #EB5F78; color:#FFF; padding:3px 20px 3px 5px; font-size:12px; background:#F293A4 url({IMGDIR}/eis/eis_avt.png) no-repeat 95% 50%; }
#eis_avatar_menu .new { background:none; color:#EC647B; font-weight: 700; }

.eis_scbar{ width:300px; margin:15px 0px 5px 0px; overflow:hidden;}

#scbar { height:35px; line-height:35px; overflow: hidden; background:none; border:none;}
#scbar ,#scbar a{  color:#FFF!important;}
                                .scbar_icon_td { width:20px; _width:30px; background: url({IMGDIR}/eis/eis_search1.png) no-repeat 0 -74px; }
                                .scbar_txt_td, .scbar_type_td { background: url({IMGDIR}/eis/eis_search1.png) repeat-x 0 -222px; }
                                        #scbar_txt { width:174px; _width:164px; background:none; border:none; outline: none; font-size: 14px; color:#FFF!important;}
                                        .scbar_narrow #scbar_txt { width: 260px; }
                                .scbar_btn_td { width:55px; background: url({IMGDIR}/eis/eis_search1.png) no-repeat right -296px; text-align: center; }
                                        #scbar_btn { margin: 0; padding: 0; border: none; background: transparent none; }
                                .scbar_type_td { background: url({IMGDIR}/eis/eis_search1.png) no-repeat 0 -370px; }
                                        #scbar_type { display: block; padding-left:10px; text-align: left; text-decoration: none; }
                                                #scbar_type_menu { margin-top: -8px; }
#scbar .eis_pn{ padding:20px;}


.wp100{ width:1004px; margin:0px auto;}
.wp80{ width:980px; margin:0px auto;}


.eis_wpbg{ background:url({IMGDIR}/eis/eis_wpbg.jpg) no-repeat center top;}

.eis_wpl{ background:url({IMGDIR}/eis/eis_wpl.png) repeat-y 0 0;}
.eis_wpr{ background:url({IMGDIR}/eis/eis_wpr.png) repeat-y 100% 0;}
.eis_wpt{ background:url({IMGDIR}/eis/eis_wpt.png) repeat-x 0 0;}
.eis_wptl{ background:url({IMGDIR}/eis/eis_wptl.jpg) no-repeat 0 0;}
.eis_wptr{ background:url({IMGDIR}/eis/eis_wptr.jpg) no-repeat 100% 0;}
.eis_wpb{ background:url({IMGDIR}/eis/eis_wpb.png) repeat-x 0 100%;}       
.eis_wpbl{ background:url({IMGDIR}/eis/eis_wpbl.jpg) no-repeat 0 100%;}
.eis_wpbr{ padding:15px 0px; background:url({IMGDIR}/eis/eis_wpbr.jpg) no-repeat 100% 100%;}


#ct{}
#ct .fl{ border:none;}
#ct .fl .bm{ margin-bottom:5px; background:url({IMGDIR}/eis/eis_cbm.png) repeat-x 0 0;}
#ct .fl .bm .bm_h{ height:40px; line-height:40px; overflow:hidden; border:none; padding-left:0px; background:url({IMGDIR}/eis/eis_cbm_hr.jpg) no-repeat 100% 0;}       
#ct .fl .bm .bm_h h2{ height:40px; line-height:40px; overflow:hidden; padding-left:10px; background:url({IMGDIR}/eis/eis_cbm_hl.jpg) no-repeat 0 0;}
#ct .fl .bm .bm_h h2{ font-size:15px; font-weight:100; color:#999;}
#ct .fl .bm .bm_h h2 a{ color:#666; padding:3px 5px 0 35px; background:url({IMGDIR}/eis/eis_cbm_h2.jpg) no-repeat 0 center;}
#ct .fl .bm .bm_h .o{ margin-top:3px;}

#ct .fl .bm .bm_c{ padding:0px; background:}
#ct .fl .bm .bm_c .eis_cbm_cl{ background:url({IMGDIR}/eis/eis_cbm_cl.png) repeat-y 0 0;}
#ct .fl .bm .bm_c .eis_cbm_cr{ background:url({IMGDIR}/eis/eis_cbm_cr.png) repeat-y 100% 0;}
#ct .fl .bm .bm_c .eis_cbm_ct{ background:url({IMGDIR}/eis/eis_cbm_t.png) repeat-x 0 100%;}
#ct .fl .bm .bm_c .eis_cbm_ctl{ background:url({IMGDIR}/eis/eis_cbm_ctl.jpg) no-repeat 0 100%;}
#ct .fl .bm .bm_c .eis_cbm_ctr{ padding:10px 15px 20px 10px; background:url({IMGDIR}/eis/eis_cbm_ctr.jpg) no-repeat 100% 100%;}
#ct .fl .bm .bm_c td h2 a,#ct .fl .bm .bm_c dt a{ color:#333; font-weight:100; font-size:14px;}

#chart{ margin:7px 0;}

.bdl {  border:none!important; background:url({IMGDIR}/eis/eis_tbn.png) repeat 0 0!important;}
.bdl_h { font-size:14px!important; font-weight:100!important; color:#333!important;}
/* 分区 */
.bdl dt {  border: solid #FFF!important; border-width:1px 0px 1px 0px!important;}
.bdl dt a { color:#333!important;}
/* 展开的分区 */
.bdl dl.a { background:none!important; }
/* 当前版块 */
.bdl dd.bdl_a a { background:#FEFBDA!important; color:#333!important;  font-weight:100!important; border: solid #FFF!important;border-width:1px 0px 1px 0px!important;}
.bdl dd a:hover{ background:#FEFBDA!important; color:#333!important; text-decoration:none;}

.ttp li.a a,.ttp li.a a:hover{ background:#EF7A8E; color:#FFF;}

#threadlist{ border:none;}
#threadlist .th{ height:43px; line-height:43px; overflow:hidden; border:none; background:url({IMGDIR}/eis/eis_th.png) repeat-x 0 0;}
#threadlist .th td,#threadlist .th th{ background:none; padding-top:0px;}
#threadlist #atarget{ margin-top:11px;}
#threadlist .bm_c{ border:1px solid #D8D8D8; border-top:none;}

.eis_ft{}
.eis_ft #ft{ border:none;}
#scrolltop{ width:27px; height:91px;}

.pnc ,.pnc a{ border:none!important; color:#FFF!important;}

.sslct_btn i { background: #EC647C; }

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-26 10:47 , Processed in 0.021412 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表