我的标题居中了,这样不好,怎么让他左对齐》???
模板里只有两个css,我都写在下边,请问大神门,我因该修改哪个代码或者加什么left标题属性呢??
- @charset "utf-8";
- .frame,.block,.temp{padding:0px;margin:0px;background:none;border:none;}
- html{overflow-y:scroll;overflow:-moz-scrollbars-vertical;height:100%;border:0;}
- a:hover {text-decoration:none;}
- .wp {margin: 0 auto;width: 1045px;}
- /* header */
- #toptb{border:none;}
- .user_link i,.usernav li .png i,.userinfo .arrow,.user_list .i_qq,.user_list .i_wb,.nav_icon{display:block;background:url({STYLEIMGDIR}/all_icon.png) no-repeat;}
- .header{min-height:120px;margin-bottom:15px;}
- .hdr{min-height:110px;_height:110px;background:#fff;margin-top:30px;background:white;border-radius:1px;-moz-border-radius:1px;-webkit-border-radius:1px;box-shadow:0 1px 3px 0 #b5b5b5;-moz-box-shadow:0 1px 3px 0 #b5b5b5;-webkit-box-shadow:0 1px 3px 0 #b5b5b5;border:1px solid #DDD;}
- .nav_box{min-width:980px;height:47px;overflow:visible;z-index:100;}
- .header_fake{height:60px;}
- .hd_logo{display:block;float:left;margin-right:15px;margin-top:30px;margin-left:20px;}
- /* nav */
- .nav_box .wp{background:#333;border-bottom:5px solid #66CD00;}
- .nav{width:750px;height:47px;float:left;margin-left:10px; _overflow:hidden;}
- .nav li{float:left;}
- .nav li span{display:none;}
- .nav li a{
- height: 47px;
- _height: 52px;
- float: left;
- font-weight: normal;
- color: #fff;line-height: 50px;
- font-size: 17px;
- padding: 0 15px;
- }
- .nav li.a.hover a{background:#66CD00;}
- .nav li.hover a{background:#66CD00;}
- .nav li a:hover{background:#66CD00;text-decoration:none;color:#FFF;}
- .nav li.a a{line-height:60px;background:#66CD00;margin-top:-5px;_margin-top:0px;_line-height:50px;height:52px;text-decoration:none;}
- .nav #mn_portal a{text-indent:-9999px;background-image:url({STYLEIMGDIR}/m.png);_background-image:url({STYLEIMGDIR}/m3.png);background-repeat:no-repeat;background-position:18px -5px;width:26px;padding:0 18px;}
- .nav .a#mn_portal a,.nav .hover#mn_portal a,.nav #mn_portal a:hover{_background-image:url({STYLEIMGDIR}/m2.png);}
- .nav #mn_portal.a a{background-position:18px 0px;}
- /* subnav */
- .sub_nav .h_pop{border:1px solid #DFDFDF;z-index:100;font-size:14px;background:#FFF;padding:0;box-shadow:none;}
- .sub_nav .h_pop li{}
- .sub_nav .h_pop li a{line-height:28px;color:#333;font-size:14px;border:none;border-radius:0!important;border-bottom:1px solid #DFDFDF;}
- .sub_nav .h_pop li a:hover{background-color:#F4F4F4;color:#0093D0;}
- /* user */
- .user_list .i_qq,.user_list .i_wb{width:40px;height:40px;margin:6px 0 0 5px;text-indent:-999px;}
- .user_list .i_qq{background-position:-180px 0;}
- .user_list a:hover .i_qq{background-position:-270px 0;}
- .user_list .i_wb{background-position:-136px 0;margin-right:10px;}
- .user_list a:hover .i_wb{background-position:-226px 0;}
- .userbox{float:right;}
- .usernav{float:left;height:47px;overflow:hidden;}
- .usernav .user_list{float:left;position:relative;overflow:hidden;}
- .usernav .menu-li span{display:none;}
- .usernav .current,.usernav .user_list-hover{background-color:#1f5583;}
- .usernav a:hover{text-decoration:none;}
- .user_link{display:block;padding:0 10px;height:47px;_height:52px;line-height:47px;color:#ccc;_display:inline-block;}
- .user_link i{display:block;width:32px;height:47px;cursor:pointer;}
- .user_link:hover{background-color:#fff;color:#333;}
- .notification i{background-position:-32px 10px;}
- a:hover.notification i{background-position:-96px 10px;}
- .msg i{background-position:0 10px;}
- a:hover.msg i{background-position:-64px 10px;}
- .flo i{background-position:-305px 10px;}
- a:hover.flo i{background-position:-337px 10px;}
- .userinfo{float:left;width:44px;overflow:hidden;height:30px;margin-left:8px;padding:8px;*z-index:200;}
- a:hover.userinfo,.userinfo.hover{background:#FFF;}
- .userinfo .arrow{float:right;width:8px;height:6px;background-position:0 -58px;margin-top:12px;margin-left:5px;}
- .userinfo.hover .arrow{background-position:0 -115px;}
- .userinfo .user_avt{width:30px;height:30px;float:left;}
- .userinfo .user_avt img{width:30px;height:30px;}
- .userinfo .user_name{height:30px;line-height:30px;float:left;color:#FFF;margin-left:8px;}
- .usernav li #msg_menu,.usernav li #nte_menu{transition:none;-moz-transition:none;-webkit-transition:none;-o-transition:none;}
- .usernav li .unread_num{position:absolute;right:2px;top:38px;z-index:10000;padding:1px 4px;line-height:12px;line-height:10px 9;background:#EA4747;color:#fff;font-weight:bold;text-align:left;border-radius:2px;cursor:pointer;}
- .sub_menu{min-width:110px;border:1px solid #DFDFDF;border-top:none;z-index:100;font-size:14px;background:rgba(255,255,255,0.95);background:white\9;box-shadow:none;}
- .sub_menu li{padding:0;}
- .ie7 .sub_menu li,.ie6 .sub_menu li{display:inline;}
- .sub_menu a{display:block;width:auto;margin:5px 0;padding:2px 10px;color:#333;background-repeat:no-repeat;background-position:-200px 0;}
- .sub_menu a:hover{background:#66CD00;color:#FFF;font-weight:normal;text-decoration:none;background-repeat:no-repeat;background-position:-200px 0;}
.sub_menu .pipe{display:none;}
还有一个css:
.j_wp{padding:20px;background:#fff;width:1005px;-moz-box-shadow:0 0 5px #cacaca;-webkit-box-shadow:0 0 5px #CACACA;box-shadow:0 0 5px #CACACA; _border:1px solid #cacaca;}
.bmw .bm_h a{color:#fff;font-size:15px;font-weight:normal;}
.bmw .bm_h{background-color:#66CD00;}
.fl .bm_c dt a{font-size:16px;font-weight:normal;font-family:Microsoft Yahei;}
.fl .bm_c em{color:#7f7f7f;}
.xi2,.xi2 a,.xi3 a{color:#7f7f7f;}
.fl .bm_c cite a{color:#71a0d3;}
.bm_h{background:#f6f6f6;border-bottom:none;}
.tl .num{text-align:left;width:90px;}
.tl .th td,.tl .th th{font-size:15px;}
|