PDA

View Full Version : Horizontal Legend?


mrderanged
03-21-2004, 03:13 PM
How would I get the icons on forum home to display horizontally instead of the vertically oriented way they show now?

and I know that I need to edit the forum home template... :)

Thanks,

Scott

Zachery
03-21-2004, 03:38 PM
<!-- icons -->
<table cellpadding="0" cellspacing="0" border="0" align="center"><tr><td rowspan="6">
<table cellpadding="4" cellspacing="1" border="0" ><tr>
<td colspan="6" class="tcat" align="center"><font class="sf"><b>Forum Icons Legend</b></font></td>
</tr><tr>
<td nowrap="nowrap" style="background: #FFFFFF;"><font class="sf"><b>$vbphrase[contains_new_posts]</b></font></td>
<td nowrap="nowrap" style="background: #FFFFFF;" align="center"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" border="0" alt="On" /></td>

<td nowrap="nowrap" style="background: #FFFFFF;"><font class="sf"><b>$vbphrase[contains_no_new_posts]</b></font></td>
<td nowrap="nowrap" style="background: #FFFFFF;" align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" border="0" alt="$vbphrase[contains_no_new_posts]" /></td>
<td nowrap="nowrap" style="background: #FFFFFF;"><font class="sf"><b>$vbphrase[a_closed_forum]</b></font></td>
<td nowrap="nowrap" style="background: #FFFFFF;" align="center"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" border="0" alt="$vbphrase[a_closed_forum]" /></td>
</tr>
</table>
</td></tr></table>
<!-- /icons -->



give that a shot in your forumhome template

mrderanged
03-21-2004, 05:01 PM
Thank you SO MUCH!!!

It worked almost like a charm :) Made a couple changes to it for my own aesthetic happiness

<!-- legend -->
<table cellpadding="0" cellspacing="0" border="0" align="center"><tr><td rowspan="6">
<table cellpadding="4" cellspacing="1" border="0" ><tr>
<td nowrap="nowrap" align="center"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" border="0" alt="On" /></td>
<td nowrap="nowrap"><font class="sf"><b>$vbphrase[contains_new_posts]</b></font></td>
<td nowrap="nowrap" align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" border="0" alt="$vbphrase[contains_no_new_posts]" /></td>
<td nowrap="nowrap" align="center"><font class="sf"><b>$vbphrase[contains_no_new_posts]</b></font></td>
<td nowrap="nowrap" align="center"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" border="0" alt="$vbphrase[a_closed_forum]" /></td>
<td nowrap="nowrap" align="center"><font class="sf"><b>$vbphrase[a_closed_forum]</b></font></td>
</tr>
</table>
</td></tr></table>
<!-- /legend -->


Basically, I swapped the arrangement a bit. You had text/pics and I swapped it to pics/text. Also, they didn't have something saying it was the forum legend before so I took out that line altogether. I also took out the background color so that it would pick up the background of the forumpage as I use graphics on one of my styles.

You can see how it looks here:

http://www.arachnoboards.com/ab/index.php?s=&styleid=8

Thank you again for your help :)

Scott

Zachery
03-21-2004, 05:02 PM
Glad it was helpfull :)

Deviant Pixelus
02-02-2005, 04:30 PM
awesome , worked