Как да ги центрирам?

Добави в тага <td> , където се визуализира аватара
Код:
<td style="text-align: center;">
или постни тука , съдържанието на viewtopic.tpl
 
Тък като неможах много да те разбера ето кода за viewtopic.tpl:

Код:
<table width="100%" cellspacing="1" cellpadding="4" border="0" class="tborder">
   <tr> 
     <td class="row2" align="left" valign="bottom" colspan="2"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a> -> {TOPIC_TITLE}</span><br />
     </td>
   </tr>
</table>

<br />

<table width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom:5px">
	<tr align="right">
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>   <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>

		<td colspan="2" valign="middle"><span class="nav2"><a href="{U_VIEW_OLDER_TOPIC}" class="nav2">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav2">{L_VIEW_NEXT_TOPIC}</a></span><br /><div class="gensmall" style="margin-top:2px"><b>{PAGINATION}</b></div></td>
	</tr>
</table>

	{POLL_DISPLAY} 





<table width="100%" style="background-image:url(templates/enlighten/images/cat_back.gif)" border="0" cellpadding="0" cellspacing="0"  class="tcat">
  <tr>
    <td width="16" height="35" align="left" valign="top"><img src="templates/enlighten/images/cat_top_ls.gif" width="16" height="35" alt=" " border="0" /></td>


    <td valign="middle" width="10"><a href="{postrow.U_MINI_POST}"><img align="absmiddle" src="{postrow.MINI_POST_IMG}" width="10" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a></td>
     <td width="100%" align="left" valign="middle" class="tcat">
        <span class="cattitle"> {postrow.POST_SUBJECT}</span>
		
		
     </td>
     <td width="19" height="27" align="left" valign="middle"><a href="javascript:scroll(0,0);"><img src="templates/enlighten/images/collapse_tcat.gif" width="11" height="12" alt="" border="0" /></a></td>
     <td width="34" height="35" align="right" valign="top"><img src="templates/enlighten/images/cat_top_rs.gif" width="34" height="35" alt=" " border="0" /></td>
  </tr>
</table>


<table class="tborder" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
   <tr>
     <th width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
     <th nowrap="nowrap">{L_MESSAGE}</th>
   </tr>
   <tr>
    <div style='text-align:center'><td class="row1" width="150" align="left" valign="top" nowrap="nowrap" style="padding-right:11px"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br />{postrow.POSTER_STATUS}</span><br /><span class="postdetails">{postrow.POST_DATE}</span></td></div>
     <td class="row2" width="100%" valign="top">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td valign="top" style="padding-bottom:3px; padding-top:3px" align="right">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
   </tr><tr> 
     <td style="background-color: #656565" height="1"><img src="templates/enlighten/images/trans.gif" width="1" height="1" alt="" border="0" /></td>
   </tr><tr>
     <td style="padding-top:3px" colspan="2" align="left" valign="top"><span class="postbody">{postrow.MESSAGE}</span></td>
   </tr><tr>
     <td colspan="2" align="left" valign="bottom" height="100%"><span class="postsig">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
   </tr>
</table>

     </td>
   </tr>
   <tr> 
     <td colspan="2" class="row1" width="100%" height="15" align="left" valign="bottom" nowrap="nowrap">

<table cellspacing="0" cellpadding="0" border="0">
   <tr> 
     <td style="padding-left:2px; padding-top:2px" valign="bottom" align="center">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.SKYPE_IMG} {postrow.ICQ_IMG}</td>
   </tr>	
</table>

     </td>
  </tr>
 </table>


<div class="ftr_bdr">
<table width="100%" class="row1" cellpadding="0" cellspacing="0">
   <tr>
     <td width="100%" height="9"><img src="templates/enlighten/images/btm_base.gif"  width="100%" height="9" alt="" border="0" /></td>
   </tr>
</table>
</div>
   

<br />
	

<form method="post" action="{S_POST_DAYS_ACTION}" style="padding:0px;margin:0px">
<table class="tborder" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
	<tr align="center"> 

		<td class="row1" colspan="2" height="15"><table cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td align="center"><span class="genmed">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" class="mainoption" value="Go" name="submit" /></span></td>
			</tr>
		</table></td>
	</tr>
</table>
</form>

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="margin-top:3px">
  <tr> 
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>   <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">   {PAGE_NUMBER}</span></td>
	<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> 
	  </td>
  </tr>
</table>

<br />

<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
	<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
	   <br />
	  {S_TOPIC_ADMIN} {QUICK_REPLY_FORM}</td>
	<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
  </tr>
</table>
 
Ivkoni_ каза:
<table width="100%" cellspacing="1" cellpadding="4" border="0" class="tborder">
<tr>
<td class="row2" align="left" valign="bottom" colspan="2"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a> -> {TOPIC_TITLE}</span><br />
</td>
</tr>
</table>

<br />

<table width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom:5px">
<tr align="right">
<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>   <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>

<td colspan="2" valign="middle"><span class="nav2"><a href="{U_VIEW_OLDER_TOPIC}" class="nav2">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav2">{L_VIEW_NEXT_TOPIC}</a></span><br /><div class="gensmall" style="margin-top:2px"><b>{PAGINATION}</b></div></td>
</tr>
</table>

{POLL_DISPLAY}





<table width="100%" style="background-image:url(templates/enlighten/images/cat_back.gif)" border="0" cellpadding="0" cellspacing="0" class="tcat">
<tr>
<td width="16" height="35" align="left" valign="top"><img src="templates/enlighten/images/cat_top_ls.gif" width="16" height="35" alt=" " border="0" /></td>


<td valign="middle" width="10"><a href="{postrow.U_MINI_POST}"><img align="absmiddle" src="{postrow.MINI_POST_IMG}" width="10" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a></td>
<td width="100%" align="left" valign="middle" class="tcat">
<span class="cattitle"> {postrow.POST_SUBJECT}</span>


</td>
<td width="19" height="27" align="left" valign="middle"><a href="javascript:scroll(0,0);"><img src="templates/enlighten/images/collapse_tcat.gif" width="11" height="12" alt="" border="0" /></a></td>
<td width="34" height="35" align="right" valign="top"><img src="templates/enlighten/images/cat_top_rs.gif" width="34" height="35" alt=" " border="0" /></td>
</tr>
</table>


<table class="tborder" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<tr>
<td class="row1" width="150" align="left" valign="top" nowrap="nowrap" style="padding-right:11px;text-align: center;"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br />{postrow.POSTER_STATUS}</span><br /><span class="postdetails">{postrow.POST_DATE}</span></td></div>
<td class="row2" width="100%" valign="top">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" style="padding-bottom:3px; padding-top:3px" align="right">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr><tr>
<td style="background-color: #656565" height="1"><img src="templates/enlighten/images/trans.gif" width="1" height="1" alt="" border="0" /></td>
</tr><tr>
<td style="padding-top:3px" colspan="2" align="left" valign="top"><span class="postbody">{postrow.MESSAGE}</span></td>
</tr><tr>
<td colspan="2" align="left" valign="bottom" height="100%"><span class="postsig">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table>

</td>
</tr>
<tr>
<td colspan="2" class="row1" width="100%" height="15" align="left" valign="bottom" nowrap="nowrap">

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="padding-left:2px; padding-top:2px" valign="bottom" align="center">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.SKYPE_IMG} {postrow.ICQ_IMG}</td>
</tr>
</table>

</td>
</tr>
</table>


<div class="ftr_bdr">
<table width="100%" class="row1" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="9"><img src="templates/enlighten/images/btm_base.gif" width="100%" height="9" alt="" border="0" /></td>
</tr>
</table>
</div>


<br />


<form method="post" action="{S_POST_DAYS_ACTION}" style="padding:0px;margin:0px">
<table class="tborder" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr align="center">

<td class="row1" colspan="2" height="15"><table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><span class="genmed">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" class="mainoption" value="Go" name="submit" /></span></td>
</tr>
</table></td>
</tr>
</table>
</form>

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="margin-top:3px">
<tr>
<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>   <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav">   {PAGE_NUMBER}</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
</table>

<br />

<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
 <br />
{S_TOPIC_ADMIN} {QUICK_REPLY_FORM}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
 

Back
Горе