首页产品图片偏右,该如何调整(style.cc)
2016-07-07 16:12 来源:www.chinab4c.com 作者:ecshop专家
小弟的网站首页的产品图片偏右边。 请问我的style.css 该如何调解? 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; } |
最近更新
常用插件
- ecshop虚拟发货插件
ecshop虚拟发货插件介绍: ecshop虚拟发货插件,主要为了通过后台手动录...
- ecshop订单聚合插件
ecshop订单聚合插件,主要是为了方便ecshop中订单产品到货情况的分析和...
- ecshop没登陆情况下订单查
ecshop没登陆情况下订单查询插件,主要是针对ecshop在没有登陆的情况下...
- ecshop注册审核插件
ecshop插件介绍:ecshop会员注册审核插件,主要是在前台提供给注册的时候...
- ecshop的oss插件
ecshop的oss插件免费共享了,oss,ecshoposs...
ecshop热门问答
ecshop热门资料
ecshop监控系统
ecshop短信平台
ecshop辛苦
ecshop爱之谷
ecshop水平线
分析ecmall
ecshop会员等级价格
ecshoprepair
ecshop框架
ecshopblue
ecshopcannot
ecshopDIY
ecshop后台进不去
ecshop简单化
ecshop人防
ecshophxl
ecshoptemplate
ecshopbuy
ecshop食用油
ecshop原始
ecshop快帆互动
ecshop自动发布
ecshop网页
ecshopparse
ecshop长沙站
ecshop不能注册新用户
ecshop全站
ecshoprank
ecshop支付接口
ecshop银卡