我想HTML图像标记如何在图片标签中包装html标签?
<img src="img-1.jpg" width="290" height="420" class="frameImage" />
低于转换为使用jquery下面的代码。
<table class="frame" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="border-top" colspan="3"></td>
</tr>
<tr>
<td class="border-left"></td>
<td><div class="image-frame"><img src="img-1.jpg" width="290" height="420" class="frameImage" />
<div class="top-left"></div>
<div class="top-right"></div>
<div class="bottom-right"></div>
<div class="bottom-left"></div>
</div></td>
<td class="border-right"></td>
</tr>
<tr>
<td class="border-bottom" colspan="3"></td>
</tr>
</table>
你为什么要这么做? – 2009-10-13 12:38:12
看起来他想在它周围放上一个特殊的边框 – 2009-10-13 12:42:21
这是如此之多的HTML,最好是首先使用它,或者在服务器端生成它。 – DisgruntledGoat 2009-10-13 15:29:58