[REQ]Postbit Table Alignment

This is a quick little edit to align the tables in the Postbit. I am not an expert coder so please if you see any bugs in this give me a hand! I will support the best I can as I am on here frequently but I am not by any measure an expert coder

In Postbit Template

Find:

code:
Code:
	<!-- user info -->
		<table cellpadding="0" cellspacing="$stylevar[cellpadding]" border="0" width="100%">
		<tr>
			<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
			<td nowrap="nowrap">
Replace With:
Code:
<!-- user info -->
		<table style="width: XXXpx;">
		<tr>
			<if condition="$show['avatar']"><td style="width: XXXpx;text-align: center"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
			<td style="width: XXXpx;">

Find:
Code:
$template_hook[postbit_userinfo_left]

			</td>
			<td width="100%">&nbsp;</td>
			<td valign="top" nowrap="nowrap">

Replace With:

Code:

Code:
$template_hook[postbit_userinfo_left]
			</td>
			
			<td style="width: XXXpx;vertical-align: top">

Replace XXX with your Dimensions
 
Back
Top