I i use mybb for my forums (php based forums)
And this is my postbit code:
<table cellspacing="0" cellspacing="{$theme['borderwidth']}" border="0" style="width: 100%" background="images/postbitimages/{$post['fid4']}.png" class="gplus" >
<tr>
<td class="post_avatar" width="1" style="padding-left: 10px;">
{$post['useravatar']}
</td>
<td class="post_author">
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$post['user_details']}
</td>
</tr>
</table>
- <table cellspacing="0" cellspacing="{$theme['borderwidth']}" border="0" style="width: 100%" background="images/postbitimages/{$post['fid4']}.png" class="gplus" >
- <tr>
- <td class="post_avatar" width="1" style="padding-left: 10px;">
- {$post['useravatar']}
- </td>
- <td class="post_author">
- <strong><span class="largetext">{$post['profilelink']}</span></strong><br />
- <span class="smalltext">
- {$post['usertitle']}<br />
- {$post['userstars']}
- {$post['groupimage']}
- </span>
- </td>
- <td class="smalltext post_author_info" width="165">
- {$post['user_details']}
- </td>
- </tr>
- </table>
and css:
. gplus {
width: 100%;
margin: auto auto;
}
- . gplus {
- width: 100%;
- margin: auto auto;
- }
s1.postimage[dat]org/dbuj8b0cv/14545.png
But i have problem with that, the images are repeated and its not good.
so what can i do to show single image in center of my postbit.