Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: rodman - kesäkuu 26, 2011, 06:01:26 AP

Otsikko: Negative Space - Alignment Issue?
Kirjoitti: rodman - kesäkuu 26, 2011, 06:01:26 AP
Hi guys ... just updated to 1.1.14 and also updated my Tiny Portal. After doing this I notice my forum looks to be aligned to the right? Creating some negative/empty space. What could cause this and how and where can I fix this?

Here's what it looks like

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi105.photobucket.com%2Falbums%2Fm231%2Frodvictoria%2Fdeadspace.jpg&hash=7b5256cf4391691deb1db74951d6953ae3d61d77)
Otsikko: Re: Negative Space - Alignment Issue?
Kirjoitti: ZerK - kesäkuu 26, 2011, 06:05:57 AP
could you post your forum's url ?
Otsikko: Re: Negative Space - Alignment Issue?
Kirjoitti: rodman - kesäkuu 26, 2011, 06:08:16 AP
http://reelanglers.net/forums/index.php?action=forum
Otsikko: Re: Negative Space - Alignment Issue?
Kirjoitti: rodman - kesäkuu 26, 2011, 12:28:20 IP
Bump ... any help his appreciated. Forum seems so squished.
Otsikko: Re: Negative Space - Alignment Issue?
Kirjoitti: ZerK - kesäkuu 26, 2011, 01:54:44 IP
there is an empty <td>
i think its in the index.template.php
search that:
<td width="170" style="padding: 4px;  padding-top: 4px;" valign="top">
                 <div id="leftbarHeader" style="padding-top: 5px; width: 170px;"></div></td>


and delete it, dont forget to backup the original file.

Otsikko: Re: Negative Space - Alignment Issue?
Kirjoitti: rodman - kesäkuu 26, 2011, 02:10:38 IP
Tried looking for that line. I searched for the "leftbarHeader" and all I got that looked anything like that code was this

// TinyPortal integrated bars
          if($context['TPortal']['leftbar'])
          {
              echo '<td width="' ,$context['TPortal']['leftbar_width'], '" style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px;  padding-top: 4px;" valign="top">
                 <div id="leftbarHeader"', empty($options['collapse_leftbar']) ? '' : ' style="display: none;"', ' style="padding-top: 5px; width: ' ,$context['TPortal']['leftbar_width'], 'px;">';
                 TPortal_sidebar('left');
              echo '</div></td>';
Otsikko: Re: Negative Space - Alignment Issue?
Kirjoitti: ZerK - kesäkuu 26, 2011, 04:57:14 IP
well look into the tinyportal options and try to disable that left sidebar.