1
Whenever I try and force a table size in Xoops, it always resizes it to meet its own needs!
Here's an example... I'm trying to edit the photo thumbnail images placed on the front page of my site to have a border around them. So I created a table, placed that in the template, and edited the width and height of the image. However, it resizes the ENTIRE TABLE to match the size of the image... which is not what I want!
Here is the template code:
<ul>
<p><{foreach item=photo from=$block.photo}>
<table width="142" height="115" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="105"><a href="<{$block.mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>">
<img src="<{$photo.thumbs_url}>/<{$photo.lid}>.<{$photo.ext}>" width="135" height="101" alt="<{$photo.title}>" /></a></td>
</tr>
<tr>
<td></td>
</tr>
</table>
<br />
<br />
<{/foreach}>
</p>
</ul>