#image_box img {
display:block;
width:80%;
margin:0px auto;
vertical-align:middle;
padding:0px;
border:1px solid #ccc;
_border:none;
background:url({$skin_path}/images/pic_bg.gif) left top no-repeat;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
}
padding:5px;
border:1px solid #ccc;
border-right:1px solid #white;
border-bottom:1px solid #white;
针对上述4行代码,A、把5px改为0px,使原先看上去又粗又宽又丑的灰色内边距线没有了;B、把border-right和border-bottome的#white改为与border一样的颜色#ccc,使原先看上又粗又宽又丑的边线变成了1px的#ccc颜色细线;
C、在完成步骤A后,直接用/* */把border-right和border-bottome括起来,也能使原先看上又粗又宽又丑的边线变成了1px的#ccc颜色细线。
D、此处修改之后,“文档下载”页内的即将被下载的文档的图片边线也变得与产品中心的边线一样细腻,不再又粗又宽又丑,而是细线。
#pro_baseinfo {float:right; width:280px;height:280px;}
对上述代码中的width或/和height值进行修改,可以增加或缩小图片与下方文字说明之间的间距。