lativ模板,首页图片宽度和高度不一致

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



图片明明是175*175的,但是看上去图片长和宽就是不一致。郁闷!www.5201.ccCSS/* LIBRARY:推荐商品-促销商品
----------------------------------------------- */
.proRecommend {

height:90px;
}
.proRecommend .pic {

float: left;

width: 85px;

margin-right: 6px;
}
.proRecommend .pic img {

width: 85px;

height: 80px;
}
.proRecommend .name {

width: 70px;

float: right;

padding-right:5px;
}
.proRecommend .price {

width: 70px;

float: right;

padding-right:5px;
}
.goodsRecommend {

width:565px;

list-style-type: none;

color:#999999;

font-size:11px;
}
.goodsRecommend p.pic {

margin-bottom:5px;
}
.goodsRecommend p.pic img {

width: 175px;

height: 175px;
}
.goodsRecommend li {

text-align:center;

padding-right:13px;

padding-bottom:8px;

margin-bottom:13px;

float:left;

white-space:nowrap;

width:175px;

text-overflow:ellipsis;

overflow:hidden;

border-bottom: 2px solid #EEEEEE;
}
.goodsRecommend h2 {

display:block;

padding:2px 0 7px 0;

color:#414141;

font:bold 14px Arial, "宋体", Verdana, sans-serif;

letter-spacing:-1pt;

width:550px;

position: relative;
}
.goodsRecommend .more {

position: absolute;

top: 1px;

right: 0px;
}
.table-div {

padding: 5px;

background-image: url(images/table_bg.gif);
}
.re-goods-price {

color: #561614;
}
.goods-price {

color: #C8B16F;
}
.market-price {

background: url(images/line_through.gif) repeat-x center 8px;
}
.goods-table {

background-color: #DADADA;

width: 175px;

height:200px;

text-align: center;

margin: 5px;
}
.goods-table td {

vertical-align:top;

background-color: #FFF;
}
.re_goods-table {

background-color: #DADADA;

width: 175px;

height:175px;

text-align: center;

margin: 5px;
}
.re_goods-table td {

vertical-align:top;

background-color: #FFF;

回答:
自己顶下吧,显示器的原因,打印出来用尺子量了下,是正常的!