关于一段贴图图片HTML边框代码怎么写?

来源:百度知道 编辑:UC知道 时间:2024/06/03 20:24:15
就是这个网站的图片边框代码,边框是浅灰色的.
http://china-security-wholesale-actfind.com/
我知道是通过css样式表实现的,这样的话,整个网站所有图片都会默认加上这样的边框,但是遇到背景透明的图的话,就不好看了.
所以我不要在CSS表中加入代码,我只是想在单独的某篇文章单独某个图片加这样的边框代码该怎么写.默认的CSS表无边框贴图代码是这个样子,
<a href="http://china-security-wholesale-actfind.com/wp-content/uploads/2008/08/1199672_080104_8600_4s.jpg"><img class="alignleft alignnone size-medium wp-image-412" style="float: left;" title="1199672_080104_8600_4s" src="http://china-security-wholesale-actfind.com/wp-content/uploads/2008/08/1199672_080104_8600_4s-300x200.jpg" alt="" width="300" height="200" /></a>
如何在此基础之上添加我想要的

<img class="alignleft alignnone size-medium wp-image-412" style="float: left; border:3px solid #e5e5e5;" title="1199672_080104_8600_4s" src="http://china-security-wholesale-actfind.com/wp-content/uploads/2008/08/1199672_080104_8600_4s-300x200.jpg" alt="" width="300" height="200" /></a>
只要在style里面加入border元素就行了 边框粗细 颜色 样式可以自己改