PDA

View Full Version : mis-aligned images


KrU$ty
05-05-2008, 04:37 AM
I'm creating a new theme and am having trouble implementing my rounded corners. I'm tipping its something to do with the code I'm using and wanted someone to have a look.

I've attached some screens in firefox and ie. For a look at the actual theme, click here (http://www.forumeffects.com/forum.php?styleid=5).

Here is the code I'm using in the module wrapper.

$mods[formcode]

<!-- TOP FORUM IMAGES -->

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr border="0">
<td width="20" height="20" border="0"> <img width="20" height="20" border="0" src="$stylevar[imgdir_misc]/table-top-left.gif" alt="" /></td>
<td width="100%" height="20" border="0"> <img width="100%" height="20" border="0" src="$stylevar[imgdir_misc]/table-top-bg.gif" alt="" /> </td>
<td width="20" height="20" border="0"> <img width="20" height="20" border="0" src="$stylevar[imgdir_misc]/table-top-right.gif" alt="" /></td>
</tr>
</table>

<!-- /TOP FORUM IMAGES -->

<div style="padding-bottom:$vba_style[portal_vspace]px">

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="$mods[colspan]">
<if condition="$vba_style['portal_collapsemods']">
<a href="#top" onclick="return toggle_collapse('module_$mods[collapse]')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_module_$mods[collapse]" src="$stylevar[imgdir_button]/collapse_tcat$modimgcollapse.gif" /></a>
</if>
<span class="smallfont"><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_module_$mods[collapse]" style="$modcollapse">
<if condition="$show['tablerow']">
<tr>
<td class="$bgclass">
$modulehtml
</td>
</tr>
<else />
$modulehtml
</if>

</tbody>

</table>

<!-- BOTTOM FORUM IMAGES -->

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="20" height="20"><img width="20" height="20" border="0" src="$stylevar[imgdir_misc]/table-bottom-left.gif" alt="" /></td>
<td width="100%" height="20"> <img width="100%" height="20" src="$stylevar[imgdir_misc]/table-bottom-bg.gif" alt="" /> </td>
<td width="20" height="20"><img width="20" height="20" src="$stylevar[imgdir_misc]/table-bottom-right.gif" alt="" /></td>
</tr>
</table>

<!-- /BOTTOM FORUM IMAGES -->

</div>

<if condition="$mods['formcode']"></form></if>Thanks in advance.

KrU$ty
05-05-2008, 04:41 AM
I've got it working in firefox, but not ie.