View Single Post
  #1  
Old 09-15-2007, 05:03 PM
Factory Ten Factory Ten is offline
 
Join Date: Oct 2006
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can't Get Header to Line Up with Body

I'm having issues with getting my header to line up with the rest of my forums. I've attached an image of the upper-right corner. I'm trying to get the header to align with the body of the forums, but I'm not having much luck. This is happening on both the right and left sides of the header.

My header template looks like this:

PHP Code:
<!-- logo -->
<
a name="top"></a>
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
        <
td>
              <
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
              <
tr>
                      <
td align="$stylevar[left]style="background-image:url($stylevar[imgdir_misc]/top_x.gif)"><img src="$stylevar[imgdir_misc]/top_left.gif" align="$stylevar[left]alt="" /></td>
                      <
td align="$stylevar[right]style="background-image:url($stylevar[imgdir_misc]/top_x.gif)"><img src="$stylevar[imgdir_misc]/top_right.gif" align="$stylevar[right]alt="" /></td>
              </
tr>
              <
tr>
                  <
td align="$stylevar[left]style="background-image:url($stylevar[imgdir_misc]/purple/f10gradient.jpg)"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
                  <
td align="$stylevar[right]style="background-image:url($stylevar[imgdir_misc]/purple/f10gradient.jpg)">
                      &
nbsp;
                  </
td>
              </
tr>
              <
tr>
                      <
td align="$stylevar[left]style="background-image:url($stylevar[imgdir_misc]/nav_x.gif)" height="22"><img src="$stylevar[imgdir_misc]/nav_left.gif" align="$stylevar[left]alt="" />
                          <
table border="0" cellpadding="0" cellspacing="0" align="left">
                                 <
tr>
                                     <
td><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_forum.gif" border="0" alt="" /></a></td>
                                     <
td><if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_usercp.gif" border="0" alt="" /></a></if></td>
                                     <
td id="usercptools"><if condition="$show['member']"><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/link_quick.gif" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("usercptools" ,1); </script></if></td>
                                     <
td><if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]rel="nofollow"><img src="$stylevar[imgdir_misc]/link_register.gif" border="0" /></a></if></td>
                                     <
td><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/link_members.gif" border="0" alt="" /></a></td>
                                     <
td id="navbar_search"><a href="$show[nojs_link]#navbar_search"><img src="$stylevar[imgdir_misc]/link_search.gif" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("navbar_search" ,1); </script></td>
                                     <
td><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out()"><img src="$stylevar[imgdir_misc]/link_logout.gif" border="0" alt="" /></a></if></td>
                                     <
td><img src="$stylevar[imgdir_misc]/link_rs.gif" border="0" alt="" /></td>
                                 </
tr>
                          </
table>
                      </
td>
                      <
td align="$stylevar[right]style="background-image:url($stylevar[imgdir_misc]/nav_x.gif)"><img src="$stylevar[imgdir_misc]/nav_right.gif" align="$stylevar[right]alt="" /></td>
              </
tr>
              <
tr>
                      <
td colspan="2">
                          <
table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#1B1B1B">
                            <
tr>
                              <
td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/upper_left.gif" width="12" height="11" alt="" /></td>
                              <
td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/upper_middle.gif" width="100%" height="11" alt="" /></td>
                              <
td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/upper_right.gif" width="12" height="11" alt="" /></td>
                            </
tr>
                            <
tr>
                              <
td width="12" align="left" valign="top" style="background-image:url($stylevar[imgdir_misc]/left_middle.gif)" height="100%"><img src="$stylevar[imgdir_misc]/left_middle.gif" width="12" height="100%" alt="" /></td>
                              <
td>

<!-- 
content table --> 
Anyone know what I should be looking at to fix this?
Attached Images
File Type: png Picture 1.png (4.9 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02783 seconds
  • Memory Usage 1,920KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete