vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help with width problem (https://vborg.vbsupport.ru/showthread.php?t=107920)

MRGTB 02-13-2006 11:55 PM

Help with width problem
 
I'm having a problem with a hack on my site that is driving me up the wall. I've tried everything I can think off and nothing works.

After adding a side bar hack, I've noticed that the width of the sidebar and the forum on the forumhome page is slightly less barrow that the navbar width on both right and left sides

Here is the code in question that controls the width:

Code:

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td width="20%" valign="top">

I've also attached an image so you can see what I mean exactly, it's the same on both left and right sides. You can view my forum home on my signiture to see it better.

How can this code be edited to fix this so it's full width to match the navbar on both sides like it should be.

amykhar 02-14-2006 12:52 AM

In your options for the style, there is a spacer size. play around with that and your problem should be solved.

Princeton 02-14-2006 01:00 AM

that's a padding issue ... my guess is that you have the sidebar table within a cell that is padded

for example ... I'm guessing you have something like this:
HTML Code:

<table cellpadding="??">
<tr>
<td>sidebar table</td><td>main table</td>
</tr>
</table>

what you need to do is...
HTML Code:

<table cellpadding="0">
<tr>
<td>sidebar table</td><td>&nbsp;&nbsp;&nbsp;</td><td>main table</td>
</tr>
</table>

there's some other tricks you can do but that should get you on the right track

MRGTB 02-14-2006 01:21 AM

Quote:

Originally Posted by princeton
that's a padding issue ... my guess is that you have the sidebar table within a cell that is padded

for example ... I'm guessing you have something like this:
HTML Code:

<table cellpadding="??">
<tr>
<td>sidebar table</td><td>main table</td>
</tr>
</table>

what you need to do is...
HTML Code:

<table cellpadding="0">
<tr>
<td>sidebar table</td><td>&nbsp;&nbsp;&nbsp;</td><td>main table</td>
</tr>
</table>

there's some other tricks you can do but that should get you on the right track

Thanks, I think I better just post the whole code that I'm using in the forumhome template so you can maybe spot the problem that way. I've marked in red were the code for it starts.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>

</head>
<body>
$header
$navbar

<!-- sponsored links start -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('sponsored_links')">
        <img id="collapseimg_sponsored_links" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_sponsored_links].gif" alt="" border="0" /></a>
<!-- title start -->
Sponsored Links
<!-- title end -->
</td>
</tr>
<tbody id="collapseobj_sponsored_links" style="$vbcollapse[collapseobj_sponsored_links]">
<tr>
<td class="alt1">
<!-- text start -->
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-5453542771580117";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_channel ="4161498870";
google_color_border = "F5F5F5";
google_color_bg = "F5F5F5";
google_color_link = "22229C";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
<!-- text end -->
</td>
</tr>
</table>
<br />
<!-- sponsored links end -->

<!-- left side block start -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td width="20%" valign="top">


<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"  align="center">
<thead>
        <tr>
                <td class="thead">Main Menu</td>
        </tr>
        <if condition="$show['guest']">
        <!-- guest welcome message -->
        <tr>
                <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
        </tr>
        <tr>
                <td class="alt1">
                        <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
                </td>
        </tr>
        <!-- / guest welcome message -->
        </if>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a><phrase 1="$vboptions[bbtitle]">Forum Stats</phrase></td>
        </tr>
</thead>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
                <td class="alt1" width="100%">
                <div class="smallfont">
                        <div>$vbphrase[threads]: $totalthreads<br />                                $vbphrase[posts]: $totalposts<br />
                        $vbphrase[members]: $numbermembers</div>
                        <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                </div>
                </td>
        </tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays start -->
<tbody>
        <tr>
                <td class="thead">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                        <a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1">$vbphrase[todays_birthdays]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
                <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
</tbody>
<!-- today's birthdays end -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
        <tr>
                <td class="thead">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]"><a href="calendar.php?$session[sessionurl]">&nbsp;$vbphrase[upcoming_events_for_the_next_x_days]</a></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>
<!-- bookmark site start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('bookmark_site')"><img id="collapseimg_bookmark_site" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_bookmark_site].gif" alt="" border="0" /></a>
<!-- title start -->
Bookmark Site
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_bookmark_site" style="$vbcollapse[collapseobj_bookmark_site]">
        <tr>
                <td class="alt2" width="100%">
<!-- text start -->
<center>
<a href="#" onclick="if (window.sidebar) { window.sidebar.addPanel('$vboptions[hometitle]', '$vboptions[homeurl]',''); } else if( document.all ) { window.external.AddFavorite( '$vboptions[homeurl]', '$vboptions[hometitle]'); } else if( window.opera && window.print ) { return true; }">Bookmark Site</a>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- bookmark site end -->
<!-- site menu start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('site_menu')"><img id="collapseimg_site_menu" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_site_menu].gif" alt="" border="0" /></a>
<!-- title start -->
Site Menu
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_site_menu" style="$vbcollapse[collapseobj_site_menu]">
        <tr>
                <td class="alt1" width="100%">
<!-- text start -->
<img src="images/buttons/lastpost.gif" border=0" /> <a href="homepage.php">Homepage</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="index.php">Community</a>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- site menu end -->
<!-- search site start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_site')"><img id="collapseimg_search_site" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_search_site].gif" alt="" border="0" /></a>
<!-- title start -->
Search Site
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_search_site" style="$vbcollapse[collapseobj_search_site]">
        <tr>
                <td class="alt2" width="100%">
<!-- text start -->
<center>
$vboptions[bbtitle]
<br />
<form method="get" action="search.php">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br/>
<input type="submit" value="Search" />
</form>
<br />
<div class="smallfont">
<a href="search.php">Advanced Search</a>
</div>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- search site end -->
<!-- search other sites start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_other_sites')"><img id="collapseimg_bookmark_search_other_sites" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_search_other_sites].gif" alt="" border="0" /></a>
<!-- title start -->
Search Other Sites
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_search_other_sites" style="$vbcollapse[collapseobj_search_other_sites]">
        <tr>
                <td class="alt1" width="100%">
<!-- text start -->
<center>
Google Web
<br />
<form method="get" action="http://www.google.com/search" target="_blank">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
<br />
<br />
Google Images
<br />
<form method="get" action="http://images.google.co.uk/images?q=" target="_blank">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
<br />
<br />
Amazon
<br />
<form action="http://www.amazon.com/exec/obidos/external-search"&return;
  method="get" target="_blank">
<input type="hidden" name="mode" value="blended" />
<input type="hidden" name="tag" value="insert associate tag here" />
<input type="text" name="keyword" size="16" maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- search other sites end -->
<!-- paypal donations start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('paypal_donations')"><img id="collapseimg_paypal_donations" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_paypal_donations].gif" alt="" border="0" /></a>
<!-- title start -->
PayPal Donations
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_paypal_donations" style="$vbcollapse[collapseobj_paypal_donations]">
        <tr>
                <td class="alt2" width="100%">
<!-- text start -->
<center>
<b>Support This Site</b>
<br />
<br />
<div class="smallfont">
Choose an Amount below
</div>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="garybolton@blueyonder.co.uk" />
  <input type="hidden" name="item_name" value="GB Downloads" />
  <input type="hidden" name="no_note" value="1" />
  <input type="hidden" name="currency_code" value="GBP" />
  <input type="hidden" name="tax" value="0" />
?<SELECT NAME="amount">
<OPTION value="1.00">1.00</option>
<OPTION value="2.00">2.00</option>
<OPTION value="3.00">3.00</option>
<OPTION value="4.00">4.00</option>
<OPTION value="5.00">5.00</option>
<OPTION value="10.00">10.00</option>
<OPTION value="20.00">20.00</option>
<OPTION value="25.00">25.00</option>
<OPTION value="50.00">50.00</option>
<OPTION value="100.00">100.00</option>
</SELECT>
<br />
<br />
<div class="smallfont">
Then click Donate button
</div>
<br />
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" alt="Click to make a donation" border="0"></a>
</form>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- paypal donations end -->
<!-- useful links start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('useful_links')"><img id="collapseimg_useful_links" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_useful_links].gif" alt="" border="0" /></a>
<!-- title start -->
Useful Links
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_useful_links" style="$vbcollapse[collapseobj_useful_links]">
        <tr>
                <td class="alt1" width="100%">
<!-- text start -->
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emule-project.net/home/perl/general.cgi?rm=download" target="_blank">eMule Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forum.emule-project.net/" target="_blank">eMule Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emuleplus.info/" target="_blank">eMule Plus Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emuleplus.info/forum/" target="_blank">eMule Plus Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.edonkey2000.com/downloads.php#basic" target="_blank">eDonkey Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forum.edonkey.com/" target="_blank">eDonkey Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://shareaza.sourceforge.net/?id=download" target="_blank">Shareaza Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forums.shareaza.com/" target="_blank">Shareaza Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.lphant.com/downloads_eng.php" target="_blank">Lphant Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.lphant.com/board/" target="_blank">Lphant Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://ocbmaurice.dyndns.org/" target="_blank">Server List</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://stats.razorback2.com/ed2khistory" target="_blank">eD2K History</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.thedonkeynetwork.com/connection_test/" target="_blank">Test Connection</a>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- paypal donations end -->
</table>
</td>
<td>
<!-- left side block end -->

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
          <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
</thead>
$forumbits
<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
                        &nbsp; &nbsp;
                        <a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
                </strong></div></td>
        </tr>
</tbody>
</table>
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        </tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>
                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->
$todayloggedinusers
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <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>
                </tr>
                <tr>
                        <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>
                </tr>
                <tr>
                        <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>
                </table>
        </td>
        <if condition="!$show['guest']">
                <!-- member logout -->
                <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                <!-- end member logout -->
        </if>
</tr>
</table>
<!-- / icons and login code -->

</td>
</tr>
</table>
$footer
</body>
</html>


amykhar 02-14-2006 01:25 AM

Try
Code:

<!-- left side block start -->
<table cellpadding="0"cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>


MRGTB 02-14-2006 01:36 AM

thanks

that makes it full width now like I want, which you can see on my site in my sig, but now I have lossed the "cell spacing" between the "blocks and the forum". How can I create a cell space now and still keep the full width.

edit

the problem is, if I enter lets say "15" into the cellspace section in the code. It brings the blocks and the forum back in again like before.

amykhar 02-14-2006 01:38 AM

try this:

Code:

<!-- left side block start -->
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td width="20%" valign="top" >
<div style="padding-right:5px;">

You may need to tinker with that padding-right number and I'm not certain it will work as I haven't tested it. Don't forget to end the div right before you end the column table cell.

MRGTB 02-14-2006 01:46 AM

Wow, you a star

that worked. But can I just check I put the </div> in the right place.

Here is were I entered your code in red in the forumhome template.

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>

</head>
<body>
$header
$navbar

<!-- sponsored links start -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('sponsored_links')">
        <img id="collapseimg_sponsored_links" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_sponsored_links].gif" alt="" border="0" /></a>
<!-- title start -->
Sponsored Links
<!-- title end -->
</td>
</tr>
<tbody id="collapseobj_sponsored_links" style="$vbcollapse[collapseobj_sponsored_links]">
<tr>
<td class="alt1">
<!-- text start -->
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-5453542771580117";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_channel ="4161498870";
google_color_border = "F5F5F5";
google_color_bg = "F5F5F5";
google_color_link = "22229C";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
<!-- text end -->
</td>
</tr>
</table>
<br />
<!-- sponsored links end -->


<!-- left side block start -->
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td width="20%" valign="top" >
<div style="padding-right:5px;">


<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"  align="center">
<thead>
        <tr>
                <td class="thead">Main Menu</td>
        </tr>
        <if condition="$show['guest']">
        <!-- guest welcome message -->
        <tr>
                <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
        </tr>
        <tr>
                <td class="alt1">
                        <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
                </td>
        </tr>
        <!-- / guest welcome message -->
        </if>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a><phrase 1="$vboptions[bbtitle]">Forum Stats</phrase></td>
        </tr>
</thead>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
                <td class="alt1" width="100%">
                <div class="smallfont">
                        <div>$vbphrase[threads]: $totalthreads<br />                                $vbphrase[posts]: $totalposts<br />
                        $vbphrase[members]: $numbermembers</div>
                        <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                </div>
                </td>
        </tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays start -->
<tbody>
        <tr>
                <td class="thead">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                        <a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1">$vbphrase[todays_birthdays]
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
                <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
</tbody>
<!-- today's birthdays end -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
        <tr>
                <td class="thead">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                        <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]"><a href="calendar.php?$session[sessionurl]">&nbsp;$vbphrase[upcoming_events_for_the_next_x_days]</a></if>
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>
<!-- bookmark site start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('bookmark_site')"><img id="collapseimg_bookmark_site" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_bookmark_site].gif" alt="" border="0" /></a>
<!-- title start -->
Bookmark Site
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_bookmark_site" style="$vbcollapse[collapseobj_bookmark_site]">
        <tr>
                <td class="alt2" width="100%">
<!-- text start -->
<center>
<a href="#" onclick="if (window.sidebar) { window.sidebar.addPanel('$vboptions[hometitle]', '$vboptions[homeurl]',''); } else if( document.all ) { window.external.AddFavorite( '$vboptions[homeurl]', '$vboptions[hometitle]'); } else if( window.opera && window.print ) { return true; }">Bookmark Site</a>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- bookmark site end -->
<!-- site menu start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('site_menu')"><img id="collapseimg_site_menu" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_site_menu].gif" alt="" border="0" /></a>
<!-- title start -->
Site Menu
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_site_menu" style="$vbcollapse[collapseobj_site_menu]">
        <tr>
                <td class="alt1" width="100%">
<!-- text start -->
<img src="images/buttons/lastpost.gif" border=0" /> <a href="homepage.php">Homepage</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="index.php">Community</a>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- site menu end -->
<!-- search site start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_site')"><img id="collapseimg_search_site" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_search_site].gif" alt="" border="0" /></a>
<!-- title start -->
Search Site
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_search_site" style="$vbcollapse[collapseobj_search_site]">
        <tr>
                <td class="alt2" width="100%">
<!-- text start -->
<center>
$vboptions[bbtitle]
<br />
<form method="get" action="search.php">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br/>
<input type="submit" value="Search" />
</form>
<br />
<div class="smallfont">
<a href="search.php">Advanced Search</a>
</div>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- search site end -->
<!-- search other sites start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('search_other_sites')"><img id="collapseimg_bookmark_search_other_sites" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_search_other_sites].gif" alt="" border="0" /></a>
<!-- title start -->
Search Other Sites
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_search_other_sites" style="$vbcollapse[collapseobj_search_other_sites]">
        <tr>
                <td class="alt1" width="100%">
<!-- text start -->
<center>
Google Web
<br />
<form method="get" action="http://www.google.com/search" target="_blank">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
<br />
<br />
Google Images
<br />
<form method="get" action="http://images.google.co.uk/images?q=" target="_blank">
<input type="text" name="q" size="16"
maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
<br />
<br />
Amazon
<br />
<form action="http://www.amazon.com/exec/obidos/external-search"&return;
  method="get" target="_blank">
<input type="hidden" name="mode" value="blended" />
<input type="hidden" name="tag" value="insert associate tag here" />
<input type="text" name="keyword" size="16" maxlength="255" value="" />
<br />
<input type="submit" value="Search" />
</form>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- search other sites end -->
<!-- paypal donations start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('paypal_donations')"><img id="collapseimg_paypal_donations" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_paypal_donations].gif" alt="" border="0" /></a>
<!-- title start -->
PayPal Donations
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_paypal_donations" style="$vbcollapse[collapseobj_paypal_donations]">
        <tr>
                <td class="alt2" width="100%">
<!-- text start -->
<center>
<b>Support This Site</b>
<br />
<br />
<div class="smallfont">
Choose an Amount below
</div>
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
<input type="hidden" name="cmd" value="_xclick" />
  <input type="hidden" name="business" value="garybolton@blueyonder.co.uk" />
  <input type="hidden" name="item_name" value="GB Downloads" />
  <input type="hidden" name="no_note" value="1" />
  <input type="hidden" name="currency_code" value="GBP" />
  <input type="hidden" name="tax" value="0" />
?<SELECT NAME="amount">
<OPTION value="1.00">1.00</option>
<OPTION value="2.00">2.00</option>
<OPTION value="3.00">3.00</option>
<OPTION value="4.00">4.00</option>
<OPTION value="5.00">5.00</option>
<OPTION value="10.00">10.00</option>
<OPTION value="20.00">20.00</option>
<OPTION value="25.00">25.00</option>
<OPTION value="50.00">50.00</option>
<OPTION value="100.00">100.00</option>
</SELECT>
<br />
<br />
<div class="smallfont">
Then click Donate button
</div>
<br />
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" alt="Click to make a donation" border="0"></a>
</form>
</center>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- paypal donations end -->
<!-- useful links start -->
<tbody>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('useful_links')"><img id="collapseimg_useful_links" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_useful_links].gif" alt="" border="0" /></a>
<!-- title start -->
Useful Links
<!-- title end -->
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_useful_links" style="$vbcollapse[collapseobj_useful_links]">
        <tr>
                <td class="alt1" width="100%">
<!-- text start -->
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emule-project.net/home/perl/general.cgi?rm=download" target="_blank">eMule Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forum.emule-project.net/" target="_blank">eMule Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emuleplus.info/" target="_blank">eMule Plus Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.emuleplus.info/forum/" target="_blank">eMule Plus Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.edonkey2000.com/downloads.php#basic" target="_blank">eDonkey Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forum.edonkey.com/" target="_blank">eDonkey Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://shareaza.sourceforge.net/?id=download" target="_blank">Shareaza Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://forums.shareaza.com/" target="_blank">Shareaza Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.lphant.com/downloads_eng.php" target="_blank">Lphant Client</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.lphant.com/board/" target="_blank">Lphant Forum</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://ocbmaurice.dyndns.org/" target="_blank">Server List</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://stats.razorback2.com/ed2khistory" target="_blank">eD2K History</a>
<br />
<img src="images/buttons/lastpost.gif" border=0" /> <a href="http://www.thedonkeynetwork.com/connection_test/" target="_blank">Test Connection</a>
<!-- text end -->
</td>
</tr>
</tbody>
<!-- useful links end -->
</div>
</table>
</td>
<td>
<!-- left side block end -->

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
          <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="175">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
</thead>
$forumbits
<tbody>
        <tr>
                <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                        <a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
                        &nbsp; &nbsp;
                        <a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
                </strong></div></td>
        </tr>
</tbody>
</table>
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        </tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                        <a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1" width="100%">
                        <div class="smallfont">
                                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                                <div>$activeusers</div>
                        </div>
                </td>
        </tr>
</tbody>
<!-- end logged-in users -->
$todayloggedinusers
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <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>
                </tr>
                <tr>
                        <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>
                </tr>
                <tr>
                        <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>
                </table>
        </td>
        <if condition="!$show['guest']">
                <!-- member logout -->
                <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                <!-- end member logout -->
        </if>
</tr>
</table>
<!-- / icons and login code -->

</td>
</tr>
</table>
$footer
</body>
</html>


Princeton 02-14-2006 01:46 AM

do cellpadding="0" as stated above

and

FIND:
HTML Code:

<!-- paypal donations end -->
</table>
</td>
<td>
<!-- left side block end -->

REPLACE IT WITH:
HTML Code:

<!-- paypal donations end -->
</table>
</td>
<td>&nbsp;&nbsp;&nbsp;</td>
<td>
<!-- left side block end -->

NOTE: CSS is the best route but the above is the easiest and less problematic for those who do not know CSS/XHTML.

amykhar 02-14-2006 01:49 AM

I think it should be this:

Code:

<!-- useful links end -->

</table>
</td>
</div>
<td>
<!-- left side block end -->



All times are GMT. The time now is 10:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01353 seconds
  • Memory Usage 2,002KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (6)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete