我想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