PDA

View Full Version : template help


Jakor Sevel
04-21-2003, 12:48 AM
can anyone tell me how to fix it so that the top 5 posters section doesn't get messed up? I've attached a screenshot. As you can see members with over 1000 posts make the table change for some odd reason (making the member with 900 posts change as well), can anyone tell me how to fix this? Here is the html of the template as well.




<!-- key NanoEntity hololith.com -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td background="images/darkness/catb.gif" colspan="3">
<table cellpadding="1" cellspacing="0" border="0" width="100%">
<tr>
<td>
<B><normalfont>Statistics</normalfont></B></td>
</tr>
</table>
</td>
</tr>
<tr>
<TD bgcolor="#185584" width="25%">
<smallfont>

<b>Top 5 Posters:</b>
<hr>

<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$posts5name</b></smallfont></td>
<td align="right"><smallfont><b>$posts5post</b></smallfont></td>
</tr>
</table>

</smallfont></td>

<TD bgcolor="#185584" width="25%">
<smallfont>

<b>Top 5 Newest Members:</b>
<hr>

<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$username</b></smallfont></td>
<td align="right"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

</smallfont></td>

<TD bgcolor="#185584" width="50%">
<smallfont>
<b>Top 5 New Thread Replys:</b>
<hr>

<table>
<tr>
<td width=75%><smallfont>Thread Names:</smallfont></td>
<td width=25%><smallfont>Last Posters:</smallfont></td>
<td align="right"><smallfont>Views:</smallfont></td>
</tr>
<tr>
<td width=75%><smallfont><b>$popthread</b></smallfont></td>
<td width=25%><smallfont><b>$poplastposter</b></smallfont></td>
<td align="right"><smallfont><b>$popviews</b></smallfont></td>
</tr>
</table>
</smallfont></td>
</tr>
<tr>
<td bgcolor="#11496C" colspan="3">
<table cellpadding="1" cellspacing="0" border="0" width="100%">
<tr>
<td bgcolor="#11496C">
<smallfont>
Popular thread is <b>$pop1title</b> | <b>$pop1views</b> views. </smallfont></td>


<td bgcolor="#11496C" align="right">
<smallfont>
Rated thread is <b>$ratedtitle</b> | <b>$ratedrating</b> votes.
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / key NanoEntity hololith.com -->

drives fast
04-21-2003, 01:08 AM
wouldn't you need to change this:
<table>
<tr>
<td width=100%><smallfont>User Names:</smallfont></td>
<td align="right"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=100%><smallfont><b>$username</b></smallfont></td>
<td align="right"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

to something like this:
<table>
<tr>
<td width=75%><smallfont>User Names:</smallfont></td>
<td align="right" width="25%"><smallfont>Posts:</smallfont></td>
</tr>
<tr>
<td width=75%><smallfont><b>$username</b></smallfont></td>
<td align="right" width="25%"><smallfont><b>$userposts</b></smallfont></td>
</tr>
</table>

untested but it looks like the posts td is too narrow for the data

Jakor Sevel
04-21-2003, 03:41 AM
thanks, you kinda messed me up cause you put the newest members info there, lmao. But i fixed it and changed the widths to 75% (didn't add those 25%s though) and it worked perfectly. Thanks for ur help.

drives fast
04-21-2003, 12:13 PM
oops...sorry about that....glad you figured out what I meant