How to centralize avatar in the middle?

Dj SharK

New Member
Hi again !

I've got a question. How do i centralize avatar, username and usergroup for all users? If that's even possible that is.

Edit : Removed Image.
 
In the postbit_legacy template find:
HTML:
<tr valign="top">
	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

and replace with:
HTML:
<tr valign="top">
	<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px" align="center">
 
thanks hoxxy !

But 1 problem though. I can't find that on my postbit_legacy. Here's all that's in my postbit legacy. Pls assist.


Edit : My mistake. There was a lot more. But still, i can't find the code. I'm using 3.7.2.

Edit 2 : When i searched for it, it came to nothing. But when i search for <tr valign="top">, there's only 1.

Code:
<tr valign="top">
	<td class="alt2" width="175">
			
			<div id="postmenu_$post[postid]">
				<if condition="$show['profile']">
				<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
				<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
				<else />
				$post[musername]
				</if>
			</div>
			
			<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
			<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
			$template_hook[postbit_userinfo_left]
		
			<if condition="$show['avatar']">
				<div class="smallfont">
					&nbsp;<br /><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>
				</div>
			</if>
			
			<div class="smallfont">
				&nbsp;<br />
				<div class="info">$post[onlinestatus] </div>
$post[crowns]$post[champtext]<br />
				<if condition="$post['joindate']"><div class="info">$vbphrase[join_date]: $post[joindate]</div></if>
				<if condition="$post['field2']"><div class="info">$vbphrase[location_perm]: $post[field2]</div></if>
				<if condition="$post['age']"><div class="info">$vbphrase[age]: $post[age]</div></if>
<div class="info">$vbphrase[posts]: $post[posts]</div>
  
                 
				<if condition="$post['entries'] > 0">
				<div class="info">$template_hook[postbit_userinfo_right_after_posts] </div>
				</if>
				
				
				<if condition="$show['infraction']"><div class="info">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
				<if condition="$show['reputation']"><div class="info"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
 
Replace:
HTML:
<tr valign="top">
	<td class="alt2" width="175">

with:
HTML:
<tr valign="top">
	<td class="alt2" width="175" align="center">
 
Ahh.. Brilliant. You are the best Hoxxy. YOU TRULY ARE !!

Sorry.. Got too excited. :P

Anyways, thanks a million Hoxxy ! Appreciate that. :)
 
Back
Top