MyBB Community Forums

Full Version: Portal Unequal?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Link to portal: http://flamesofsorrow.com/portal.php

The space between the first side and the center, and the center with the right side are unequal.

Take a look:

[Image: qrf0co.jpg]

Look closely, and you can see at the gaps and compare the one on the right to the one on the left.

How can i modify my portal template so this is all equal?

Here is my portal template:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
{$ps_header_portal}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="154">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Navigation</strong></td>
</tr>
<tr>
<td class="trow1">
<li><a href="/index.php">Forums</a></li>
<li><a href="http://ventrilo.com/download.php">Ventrilo</a></li>
<li><a href="http://palidino76.com/battlescape/index.php?pageid=523client">Battlescape Webclient</a></li>
</td>
</tr>
</table>
<br />
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top">
{$welcome}
{$announcements}
</td>
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Advertisements</strong></td>
</tr>
<tr>
<td class="trow1">
<script type="text/javascript"><!--
google_ad_client = "pub-2869747934464722";
/* 120x240, created 4/20/09 */
google_ad_slot = "6833331661";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<br />
{$search}
{$stats}
{$whosonline}
</td>
</tr>
</table>
{$ps_footer_portal}
{$footer}
</body>
</html>
Ooh that's really annoy me Toungue

Try this:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
{$ps_header_portal}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="15%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Navigation</strong></td>
</tr>
<tr>
<td class="trow1">
<li><a href="/index.php">Forums</a></li>
<li><a href="http://ventrilo.com/download.php">Ventrilo</a></li>
<li><a href="http://palidino76.com/battlescape/index.php?pageid=523client">Battlescape Webclient</a></li>
</td>
</tr>
</table>
<br />
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top" width="70%">
{$welcome}
{$announcements}
</td>
<td>&nbsp;</td>
<td valign="top" width="15%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Advertisements</strong></td>
</tr>
<tr>
<td class="trow1">
<script type="text/javascript"><!--
google_ad_client = "pub-2869747934464722";
/* 120x240, created 4/20/09 */
google_ad_slot = "6833331661";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<br />
{$search}
{$stats}
{$whosonline}
</td>
</tr>
</table>
{$ps_footer_portal}
{$footer}
</body>
</html>

I've added a gap between the 2nd and 3rd column which should make it the same spacing, and also changed the widths of the columns to make sure it's equal... the end two are 15% and the middle one is 70%, you can change these or remove the width= attribute if you don't want this.
Thank you. (:

You've helped me with all my problems so far Toungue