Thanks yet again Lynne.
This is a little (or a lot) beyond me at this moment.
I have tried to insert that into the postbit in a couple of ways but it does not have any effect.
What I have shown is this by altering some of the values that firebug exposes. Attachment 1 below is what my template builds and Attachment 2 is what I want to achieve BUT only the effect for the 4 images in the square block on the right.
This is my postbit bit:
Code:
<td width="100%">
</td>
$template_hook[postbit_userinfo_left]
<td width="100%" style="border-spacing=0 padding=0">
<!-- / helis and modes start -->
<if condition="$post[field10]"><img src="images/helicopters/$post[field10].gif"></if>
<if condition="$post[field7]"><img src="images/modes/$post[field7].gif"></if>
<!-- / helis and modes end -->
</td>
<td width="100%">
<!-- / motors start -->
<div>
<if condition="$post[field11]"><img src="images/motors/$post[field11].gif"></if>
</div>
<!-- / motors end -->
<!-- / radios start -->
<div>
<if condition="$post[field9]"><img src="images/radios/$post[field9].gif"></if>
</div>
<!-- / radios end -->
</td>
<td width="100%">
This block seems to be governed by the table setup for the entire postbit because when I use firebug to set the cellspacing to 0
Code:
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td class="alt2">
</td>
<td nowrap="nowrap">
</td>
<td width="100%"> </td>
<td width="100%" style="">
<img src="images/helicopters/Compass.gif"/>
<img src="images/modes/Mode-1.gif"/>
</td>
I get the images together as in attachment 2 but it applies to the whole postbit - ie I lose the padding and spacing I want to preserve between the avatar and the username, flags etc.
I hope this makes sense!
Thanks for your suggestions.
Will