Chadi
06-13-2008, 02:43 AM
In my vbulletin forum (www.talkjesus.com (http://www.talkjesus.com/)) there is a small purple border line right below the navigation menu, that only appears in IE browser (7 is what I tested with).
Now, the strange part is it is caused by the right side logo
http://www.talkjesus.com/images/element/misc/right-logo.gif
If I remove the right side logo from the header template (portion show below), the line is gone. I cannot figure out why its like that.
The right logo html portion is the 2nd td below
<tr>
<td align="$stylevar[left]" valign="top">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" style="border:0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" valign="top">
<img src="http://www.talkjesus.com/images/element/misc/right-logo.gif" style="border:0" alt="$vboptions[bbtitle]" />
</td>
</tr>The entire header template is:
<!-- logo -->
<a name="top"></a>
<!-- <div align="center" class="outer_border">
<div align="center" class="inner_border"> -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
<td align="$stylevar[left]" valign="top">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" style="border:0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" valign="top">
<img src="http://www.talkjesus.com/images/element/misc/right-logo.gif" style="border:0" alt="$vboptions[bbtitle]" />
</td>
</tr>
<tr>
<td style="height:34px" colspan="2">
<!-- nav buttons bar -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border:0px">
<tr align="center">
<td class="nav_menu_control" style="width: 16px"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" style="border:0" alt="Home"/></a></td>
<td id="Info" class="nav_menu_control"><a href="#1">Info</a>
<script type="text/javascript"> vbmenu_register("Info"); </script></td>
<if condition="$show['registerbutton']">
<td class="nav_menu_control"><a href="register.php$session[sessionurl_q]" style="color:#ffdbf9" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<if condition="$vbulletin->products['vbprojecttools']">
<td class="nav_menu_control"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td>
</if>
<if condition="$vbulletin->products['vbblog']">
<td class="nav_menu_control"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>
</if>
<td id="Entertainment" class="nav_menu_control"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("Entertainment"); </script></td>
<td id="Bible" class="nav_menu_control"><a href="#3">Bible</a>
<script type="text/javascript"> vbmenu_register("Bible"); </script></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2" style="color:#feecac">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="nav_menu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" style="color:#ffdbf9" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
$cyb_ltoua_alert
Now, the strange part is it is caused by the right side logo
http://www.talkjesus.com/images/element/misc/right-logo.gif
If I remove the right side logo from the header template (portion show below), the line is gone. I cannot figure out why its like that.
The right logo html portion is the 2nd td below
<tr>
<td align="$stylevar[left]" valign="top">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" style="border:0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" valign="top">
<img src="http://www.talkjesus.com/images/element/misc/right-logo.gif" style="border:0" alt="$vboptions[bbtitle]" />
</td>
</tr>The entire header template is:
<!-- logo -->
<a name="top"></a>
<!-- <div align="center" class="outer_border">
<div align="center" class="inner_border"> -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
<td align="$stylevar[left]" valign="top">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" style="border:0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" valign="top">
<img src="http://www.talkjesus.com/images/element/misc/right-logo.gif" style="border:0" alt="$vboptions[bbtitle]" />
</td>
</tr>
<tr>
<td style="height:34px" colspan="2">
<!-- nav buttons bar -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border:0px">
<tr align="center">
<td class="nav_menu_control" style="width: 16px"><a href="http://www.talkjesus.com/index.php">
<img src="http://www.talkjesus.com/images/home.gif" style="border:0" alt="Home"/></a></td>
<td id="Info" class="nav_menu_control"><a href="#1">Info</a>
<script type="text/javascript"> vbmenu_register("Info"); </script></td>
<if condition="$show['registerbutton']">
<td class="nav_menu_control"><a href="register.php$session[sessionurl_q]" style="color:#ffdbf9" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<if condition="$vbulletin->products['vbprojecttools']">
<td class="nav_menu_control"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td>
</if>
<if condition="$vbulletin->products['vbblog']">
<td class="nav_menu_control"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td>
</if>
<td id="Entertainment" class="nav_menu_control"><a href="#1">Entertainment</a>
<script type="text/javascript"> vbmenu_register("Entertainment"); </script></td>
<td id="Bible" class="nav_menu_control"><a href="#3">Bible</a>
<script type="text/javascript"> vbmenu_register("Bible"); </script></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2" style="color:#feecac">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="nav_menu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" style="color:#ffdbf9" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
$cyb_ltoua_alert