商品详细页面图片的CSS问题----急求

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

商品详细页面图片的CSS问题----我用的是3CSHOP的模版


我现在想把商品详细页面的图片改成500*400



/* ====================公共样式==================== */
body{
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,ol,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;color:#611829;height:22px; vertical-align:middle;cursor:pointer;
padding-top:4px\9;*padding-top:3px;
}
.bnt_number2{
width:48px; background:url(images/bg.gif) no-repeat -197px -40px;
}
.bnt_number4{
width:67px; background:url(images/bg.gif) no-repeat -248px -40px;
}
.bnt_number6{
width:94px; background:url(images/bg.gif) no-repeat -197px -66px;
}
.bnt_number8{
width:118px; background:url(images/bg.gif) no-repeat -197px -92px;
}
.bnt_number10{
width:145px; background:url(images/bg.gif) no-repeat -197px -118px;
}
.go{
width:49px; height:21px; border:none; background:url(images/bg.gif) no-repeat -200px-307px;cursor:pointer;
}
.bnt_join{
cursor:pointer;width:102px;height:43px;border:none;background:url(images/bg.gif) no-repeat 0 -408px;
}
.bnt_login{
cursor:pointer;width:102px;height:43px;border:none;background:url(images/bg.gif) no-repeat -107px -408px;
}
.txtdot{
background:url(images/dot.gif) no-repeat 0 center; padding-left:10px;
}

/*字体及颜色*/
.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;}


/* ====================通用模块==================== */
.modbox{
background:url(images/globeline.gif) no-repeat left top; padding-top:5px;
}
.modTit{
height:30px; line-height:30px; font-weight:700; font-size:14px; padding:0 15px; background:url(images/dotline.gif) repeat-x left bottom;
}
.modTit .more,.mod2Tit .more{
font-weight:100; font-size:12px;
}

.mod2Tit{
height:29px; line-height:29px; font-weight:700; font-size:14px; padding:0 15px; background:url(images/modTitbg.gif) repeat-x left bottom;
}
.mod2Content{
padding:20px 0 10px 0;
}
.activityBox{
padding-left:12px;
}

/*单个商品外围框架(此方法在火狐和ie8下面会产生3px边距)*/
.goodsbox{
width:172px;
min-height:1px;
display: -moz-inline-stack;
display: inline-block;
text-align:center;
vertical-align: top;
margin:3px 11px;
*margin:0 13px;
zoom:1;
*display:inline;
_height:1px;
}
.goodsbox .imgbox{
width:170px;
border:1px solid #ccc;
margin:0 auto 5px auto;
overflow:hidden;
}