2.7.2模板首页精品推荐与新品上市显示问题,居中,加长

2016-07-07 16:09 来源:www.chinab4c.com 作者:ecshop专家

2.7.2的模板css代码如下,改那块求教了


/*
Template Name: ECSHOP Genuine
Template URI: http://www.ecshop.com/
Description: The Genuine ECSHOP template.
Version: 2.7.2
Author: 失落的大地
Author URI: http://www.ecshop.com/
Logo filename: logo.gif
Template Type: type_0
*/

/* ====================公共样式==================== */
body{
background:url(images/bodybg.gif) repeat-x 0 0; font-size:12px; font-family:"宋体",Arial,Verdana; line-height:150%; margin:0; padding:0; color:#424242;
}
div{margin:0 auto; padding:0;}
h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,form,img,p{
margin:0; padding:0; border:none; list-style-type:none;
}
h1,h2,h3,h4,h5,h6{
font-size:12px;
}
.block{
width:1000px; height:auto;
}
.blank{margin-bottom:8px;}
.fl{float:left;}
.fr{float:right;}
.tl{ text-align:left;}
.tc{ text-align:center;}
.tr{ text-align:right;}
.dis{display:block;}
.inline{display:inline;}
.none{display:none;}
.InputBorder{border:1px solid #ccc;}
.tips{
text-align:center;
font-size:14px;
font-weight:bold;
padding:30px 0px;
color:#ff6600;
}
.ads{
margin-bottom:8px;
}
.ads img{
display:block;
margin-bottom:0px;
}

.clearfix:after{
content:"."; display:block; height:0; clear:both;
visibility:hidden;
}
*html .clearfix{
height:1%;
}
*+html .clearfix{
height:1%;
}
/*英文强制换行*/
.word{word-break:break-all;}

/*全站按钮部分及修饰图标*/
acronym{
display:inline-block;
display:-moz-inline-stack;
*display:inline;
zoom:1;
vertical-align:middle;
overflow:hidden;
}

.bnt_number2,.bnt_number4,.bnt_number6,.bnt_number8,.bnt_number10{
border:none;text-align:center;font-weight:100;font-size:14px;color:#4a2f07;height:21px; vertical-align:middle;cursor:pointer;
padding-top:4px\9;*padding-top:3px;
}
.bnt_number2{
width:64px; background:url(images/bg.gif) no-repeat 0 -48px;
}
.bnt_number4{
width:81px; background:url(images/bg.gif) no-repeat -67px -48px;
}
.bnt_number6{
width:99px; background:url(images/bg.gif) no-repeat -151px -48px;
}
.bnt_number8{
width:128px; background:url(images/bg.gif) no-repeat 0 -71px;
}
.bnt_number10{
width:148px; background:url(images/bg.gif) no-repeat -131px -71px;
}
.go{
width:49px; height:21px; border:none; background:url(images/text_bg.gif) no-repeat 0-48px;cursor:pointer;
}
.bnt_join{
cursor:pointer;width:102px;height:43px;border:none;background:url(images/bg.gif) no-repeat -29px -154px;cursor:pointer;
}
.bnt_login{
cursor:pointer;width:102px;height:43px;border:none;background:url(images/bg.gif) no-repeat -136px -154px;cursor:pointer;
}
.txtdot{
background:url(images/bg.gif) no-repeat -287px -32px; padding-left:8px;
}



/*字体及颜色*/
.f1{color:#ff6c02;}
.f14b{font-size:14px; font-weight:bold;}
.f2{color:#aeacac;}
.username{color:#a80416;}
.market{ text-decoration:line-through;}
.price{color:#ff6c02; font-weight:bold; font-size:14px; font-family:Verdana, Arial;}

a:link {color: #424242; text-decoration:none;}
a:visited {color: #424242;text-decoration:none;}
a:hover {color: #ff0000; text-decoration:none;}
a:active {color: #424242; text-decoration:none;}

.a{color:#ff0000;}
.b{color:#0000ff;}


/* ====================通用模块==================== */
.mod1{
border:1px solid #ccc; background:url(images/mod1bg.gif) repeat-x 0 0; background-color:#f4f2f0; position:relative; min-height:2px; _height:2px;
}
.mod1 span{
display:block; width:5px; height:5px; position:absolute; overflow:hidden;
}
.mod1 span.lt{
background:url(images/bg.gif) no-repeat -8px 0; left:-1px; top:-1px;
}
.mod1 span.lb{
background:url(images/bg.gif) no-repeat -8px -6px; left:-1px; bottom:-1px;
}
.mod1 span.rt{
background:url(images/bg.gif) no-repeat -14px 0; right:-1px; top:-1px;
}
.mod1 span.rb{
background:url(images/bg.gif) no-repeat -14px -6px; right:-1px; bottom:-1px;
}
.mod1tit{
font-weight:bold; font-size:14px; height:30px; line-height:30px; margin-bottom:10px; background:url(images/bg.gif) no-repeat -280px 0;
padding-left:25px; position:relative;
}
.mod1tit .more{
position:absolute; top:0px; right:10px; font-weight:100; font-size:12px;
}
.mod1con{
margin:0 4px 4px 4px; background:#fff; border:1px solid #dcd2ca; padding:5px;
}

.mod2{
background:none;
}
.mod2tit{
font-weight:bold; font-size:14px; height:30px; line-height:30px; background:url(images/modtit.gif) repeat-x 0 0; position:relative;
padding:0 10px;
}
.mod2tit .more{
position:absolute; top:0px; right:10px; font-weight:100; font-size:12px;
}
.mod2con{
padding:5px 8px;
}

/*单个商品外围框架(此方法在火狐和ie8下面会产生3px边距)*/
.goodsbox{
width:140px;
min-height:1px;
display: -moz-inline-stack;
display: inline-block;
text-align:center;
vertical-align: top;
zoom:1;
*display:inline;
_height:1px;
}
.goodsbox .imgbox{

回答:
各位高手们,这个问题我都等待两天了,能帮我解决吗?