
几种不同的给图片加边框代码
1.提示:点更多博客美化技巧尽在———→
不断
增加中。
2.文章添加法:将原始代码在《特效代码检验器》 里转化为效果,复制效果在文章发布。或写文章时:点击代码-放好代码-点击设计-发表文章即可!
3.自定义HTML模块添加法:把原始代码放到自定义HTML模块保存即可,附:《如何添加自定义html模块 》
效果如下:
|
|
原始代码:
<table style="WIDTH: 500px; HEIGHT: 500px" borderColor=#cc7033 cellSpacing=3 cellPadding=3 width=500 bgColor=#692e20 border=3>
<tbody>
<tr>
<td>
<p align=center><img height=596 hspace=8 src="http://photo2.hexun.com/p/2006/0918/44891/b_0B8A7C34D14EE5DE.jpg" width=500 vspace=10 border=0></p>
</td>
</tr>
</tbody>
</table>
效果如下:

代码如下:
<p><br>
<div align=center><img height=665 src="http://photo2.hexun.com/p/2006/0918/44891/b_332AE34AFCF344DA.jpg" width=500 border=4></div>
<br></p>
图片框:效果如下:
|
|
原始代码:<TABLE style="WIDTH: 120px; HEIGHT: 120px" borderColor=#cc7033 cellSpacing=2 cellPadding=3 width=120 bgColor=#692e20 border=2>
<TBODY>
<TR>
<TD>
<P align=center><IMG height=120 src=http://photo11.hexun.com/p/2008/0405/185176/m_FE5A2C57229EC2E0F6F6ECB23C60922F.jpg width=120 border=0></P></TD></TR></TBODY></TABLE>
|
|
图片往右靠代码:
<TABLE style="WIDTH: 120px; HEIGHT: 120px" borderColor=#cc7033 cellSpacing=2 cellPadding=3 width=120 align=right bgColor=#692e20 border=2>
<TBODY>
<TR>
<TD>
<P align=center><IMG src="http://photo11.hexun.com/p/2008/0405/185176/m_FE5A2C57229EC2E0F6F6ECB23C60922F.jpg" align=right border=0></P></TD></TR></TBODY></TABLE>
柏瑞推荐阅读:→






