PDA

View Full Version : center forum icons legend?


zero5854
04-15-2009, 02:02 PM
I want to be able to center these.... (SEE ATT)

heres the code Im pretty sure is for the icon legend....

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">

<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>


<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>

<if condition="$vboptions['showlocks']">

<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</if>
</table>
</td>

thanks for any help!

Stagehandspace
04-16-2009, 12:16 AM
<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%" align="center">

<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>


<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>

<if condition="$vboptions['showlocks']">

<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</if>
</table>
</td>

I added align="center" to the top table line, if that dosen't work just wrap the code in <center> <! -- CODE --> </center>

zero5854
04-20-2009, 03:19 PM
yes thats what I did sorry I didnt update this post thanks for the help!