首页产品图片偏右,该如何调整(style.cc)

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



小弟的网站首页的产品图片偏右边。 请问我的style.css 该如何调解?

100.png


sytle.css

/*--- goods_grid ---*/
.goods_grid{margin:0; overflow:hidden; zoom:1; display:inline;}
.goods_grid li{width:89px; display:inline; overflow:hidden; margin-left:30px; height:180px; padding:4px 0 5px 0; float:left;}
.goods_grid .img{width:120px; height:120px; background:#fff; border:1px #bcc1ca solid; margin:0 auto; display:block;}
.goods_grid .img img{width:120; height:120px;}
.goods_grid .name{ display:block; line-height:16px; overflow:hidden; zoom:1; word-wrap: break-word; word-break: normal; text-align:center;}
.goods_grid .name a{font-size:12px; font-weight:bold; line-height:16px; color:#363e4a;}
.goods_grid .price{ font-size:12px; line-height:14px; height:14px; margin-bottom:3px; color:#fff; text-align:center; display:block; font-weight:bold;}
.goods_grid .market{font-size:12px; text-align:center; height:14px; line-height:14px; font-weight:normal; color:#8c8c8c; text-decoration:line-through;}
.goods_grid .btn_list{ display:block; text-align:left; padding-left:8px;}
.goods_grid .btn_list img{display:block; margin:0 auto; margin-bottom:2px;}

/*--- goods_grid2 ---*/
.goods_grid2{margin:0; overflow:hidden; zoom:1; display:inline;}
.goods_grid2 li{width:89px; display:inline; overflow:hidden; margin-left:30px; height:150px; padding:4px 0 5px 0; float:left;}
.goods_grid2 .img{width:120px; height:120px; background:#fff; border:1px #bcc1ca solid; margin:0 auto; display:block;}
.goods_grid2 .img img{width:120; height:120px;}
.goods_grid2 .name{ display:block; line-height:18px; overflow:hidden; zoom:1; text-align:center;}
.goods_grid2 .name a{font-size:12px; font-weight:bold; line-height:18px; color:#363e4a;}
.goods_grid2 .price{ font-size:12px; line-height:16px; height:16px; margin-bottom:5px; color:#fff; text-align:center; display:block; font-weight:bold;}
.goods_grid2 .market{font-size:12px; text-align:center; height:14px; line-height:14px; font-weight:normal; color:#8c8c8c;text-decoration:line-through;}
.goods_grid2 .btn_list{ display:block; text-align:left; padding-left:8px;}

回答:
你好,单纯看您贴的CSS分析不了,您可以尝试贴上你的网址或者贴上相关部分的模板代码

2# spores

你好啊,

我的网址 www.lazyshop.com.my

尝试在CSS中加入:
.goodsimg{
width:130px;
height:118px;
}