我修改了首页 缩略图大小!IE6 正常 IE7 下 出问题了! 求高手帮忙~

2016-07-07 15:44 来源:www.chinab4c.com 作者:ecshop专家

我修改后的样式表文件!!!请 大哥给我看看为什么在IE 6 下 正常在IE7下首页推荐显示不正常了呢?

/*--- goods_grid ---*/
.goods_grid{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_grid li{ width:106px; float:left; padding:11px 8px 9px;}
.goods_grid .img{border:1px solid #E4E4E4; width:127px; height:127px;}
.goods_grid .img img{width:127px; height:127px;}
.goods_grid .name{text-align:center; height:28px; padding-top:4px; overflow:hidden; line-height:14px; width:127px;}
.goods_grid .price{text-align:center; height:20px; width:127px; line-height:20px; overflow:hidden; }
/*--- goods_grid2 ---*/
.goods_grid2{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_grid2 li{ width:165px; float:left; padding:11px 9px 9px;}
.goods_grid2 .img{border:1px solid #E4E4E4; width:127px; height:127px;}
.goods_grid2 .img img {width:127px; height:127px;}
.goods_grid2 .img a{height:127px; height:127px; display:block;}
.goods_grid2 .name{text-align:center; height:25px; overflow:hidden; line-height:25px; font-size:12px; font-weight:bold; width:127px;}
.goods_grid2 .market_price{text-decoration:line-through; color:#000;}
.goods_grid2 .price{text-align:center; font-size:12px; color:#CE2104; width:127px; line-height:20px; overflow:hidden; }
/*--- goods_item ---*/
.goods_item{ display:block; overflow:hidden; zoom:1; padding:0 0 0 4px;}
.goods_item li{ width:99%; display:block; float:left; padding:11px 0 9px; border-bottom:1px #ccc dashed;}
.goods_item .img{border:1px solid #E4E4E4; float:left; width:127px; height:127px;}
.goods_item .img img{height:127px; width:127px;}
.goods_item .name{text-align:center; padding:0 10px; text-align:left; width:290px; height:40px; overflow:hidden; line-height:20px; float:left;}








55555555555555555555555555555555.jpg