PDA

View Full Version : Large space between logo and navbar


powerful_rogue
10-18-2007, 11:22 AM
Hi,

I normally use firefox and my site appears fine, however I looked at the site today using IE7 and noticed a large white space between the logo and the navbar.

The only appears in IE7 and not FF. Ive had a look through the settings, but not too sure where to look.

Anyone have any idea why this only shows in IE and any idea how I can reduce the gap? Ive attatched the screenshot of how it appears ibn IE.

my site is www.doverlocals.co.uk

Many thanks

Dave

Freesteyelz
10-19-2007, 04:21 AM
I'm not sure if that is the cause but you may want to add the </tr> tag:


</tr>
</table>
<!-- /logo -->

powerful_rogue
10-19-2007, 07:24 AM
Thanks for your reply.

Ive put the </tr> in but made no difference :(

Thanks anyway

Freesteyelz
10-19-2007, 07:29 AM
Unless someone gets to it first, I'll check further sometime tomorrow.

powerful_rogue
10-19-2007, 01:12 PM
Thanks Freesteyelz. Really is appreciated :)

Freesteyelz
10-20-2007, 03:12 AM
I think I may have found the problem. There are inconsistencies with "&nbsp;". The location is the navigation links between lines:

<!-- top nav buttons bar -->

to

<!-- breadcrumb, login, pm info -->

Between these lines in your navbar template find all "&nbsp". Notice that it's missing the ";". Without it will create a line break instead of a character space. So replace all instances to "&nbsp;".

For instance, in your Arcade code you have:


<td class="vbmenu_control"><img class="inlineimg" src="http://www.doverlocals.co.uk/images/vbevolution/misc/nav_download.gif" alt="Arcade" border="0" />&nbsp<a href="arcade.php?">Arcade</a></td>&nbsp



But it should be:


<td class="vbmenu_control"><img class="inlineimg" src="http://www.doverlocals.co.uk/images/vbevolution/misc/nav_download.gif" alt="Arcade" border="0" />&nbsp;<a href="arcade.php?">Arcade</a></td>&nbsp;



I would have supplied the entire code change but for some reason two of your <td> lines could not be posted. Just go line by line and make the relevant changes. Let me know how it goes. :)

powerful_rogue
10-21-2007, 01:21 AM
Thanks Freesteyelz :)

I'll give it a go over the next couple of days and let you know. I would do it sooner but tucked up at work now till Tuesday.

Thanks for your help, its greatly appreciated.

Freesteyelz
10-21-2007, 03:48 AM
I'll check back. If for some reason I miss your next reply in this thread PM me. :)

powerful_rogue
10-24-2007, 11:08 PM
Thanks Freesteyelz.

I went through the navbar and made all the alterations but for some reason I still have the massive white space when the site is viewed in IE, but not in Firefox.

Very strange

Freesteyelz
10-25-2007, 04:01 AM
Please post that entire section of code. There may be something I have missed.

powerful_rogue
10-25-2007, 08:19 PM
Thank you, really is appreciated :)

This is my header

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="20" height="20" align="$stylevar[right]"><img width="20" height="20" src="$stylevar[imgdir_misc]/page_top_left.gif" alt="" /></td>
<td align="$stylevar[left]" width="100%" style="background: url('$stylevar[imgdir_misc]/page_top.gif') repeat-x top left;">&nbsp;</td>
<td width="20" height="20" align="$stylevar[left]"><img src="$stylevar[imgdir_misc]/page_top_right.gif" width="20" height="20" alt="" /></td>
</tr>
</table>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="page">
<tr>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" width="95%" border="0" alt="$vboptions[bbtitle]" /></a></td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open

$_phpinclude_output

--------------- Added 1193347206 at 1193347206 ---------------

This is my navbar

<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>
<script type="text/javascript">
<!--
function openChatbox () {
chatbox = window.open('chatbox.php','chatbox','height=330,wi dth=650,directories=no,location=no,menubar=no,resi zable=yes,status=no,toolbar=no,scrollbars=yes');
}
//-->
</script>
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<!-- top nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_home.gif" alt="$vboptions[hometitle]" border="0" />&nbsp;<a href="$vboptions[homeurl]">Home</a></td>
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Forum" border="0" />&nbsp;<a href="/forum.php$session[sessionurl]">Forum</a></td>


<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_faq.gif" alt="Frequently Asked Questions" border="0" />&nbsp;$vbphrase[faq]</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/music.gif"/>&nbsp;<a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td>

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Quiz" border="0" />&nbsp;<a href="quiz.php?$session[sessionurl]">Quiz</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_purchase.gif" alt="Gallery" border="0" />&nbsp;<a href="photoplog/index.php?$session[sessionurl]">Gallery</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_download.gif" alt="Arcade" border="0" />&nbsp;<a href="arcade.php?$session[sessionurl]">Arcade</a></td>&nbsp;


<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_calendar.gif" alt="Dover Events" border="0" />&nbsp;<a href="calendar.php?$session[sessionurl]">Dover Events</a></td>&nbsp;

</tr>
</table>
</div>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <h1 class="h1navbar">$navbits[lastelement]</h1></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <h1 class="h1navbar">$vboptions[bbtitle]</h1></div>
</if>
<if condition="THIS_SCRIPT == 'index' AND $show['guest']">
<!-- guest welcome message -->
<div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">
Welcome to $vboptions[bbtitle]. $threadinfo[title] $vboptions[keywords]<br />
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase></div>
<!-- / guest welcome message -->

<else />

<if condition="THIS_SCRIPT == 'poll'">
<div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">The poll results for <b>$threadinfo[title]</b>. <br /></div>

<else />

<if condition="$thread[title]">
<br/><div class="navbar" style="font-size:8pt"><b>$thread[title]</b><if condition="$pagenumber>1"> Page $pagenumber</if>. Discuss <i>$thread[title]</i>, on $vboptions[bbtitle], the Dover Forum. $foruminfo[title].<br/>&nbsp;</div>

<else />
<if condition="$foruminfo[title]">
<br/><div class="navbar" style="font-size:8pt">
$foruminfo[title] <if condition="$pagenumber>1">Page $pagenumber </if> on $vboptions[bbtitle]. $foruminfo[description]<br/>&nbsp;

</div>
</if></if></if></if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong>$nzb_greeting</strong><br />
<strong>$nzb_greeting2</strong><br />

<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] -->
<if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=n o,toolbar=no,scrollbars=yes,resizable=yes,width=65 0,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] -->
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_usercp.gif" alt="Your Account" border="0" />&nbsp;<a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_register.gif" alt="Join $vboptions[bbtitle]" border="0" />&nbsp;<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>


<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Forums Start Page" border="0" />&nbsp;$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Today's Posts" border="0" />&nbsp;$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" />&nbsp;$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_memberlist.gif" alt="Member List" border="0" />&nbsp;$vbphrase[members_list]</a></td>
</if>
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Forums Rules" border="0" />&nbsp;<a href="rules.php$session[sessionurl_q]">$vbphrase[vbrules_rules]</a></td>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Quick Links" border="0" />&nbsp;$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" />&nbsp;$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="New Posts" border="0" />&nbsp;$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="$vbphrase[todays_posts]" border="0" />&nbsp;$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_logout.gif" alt="$vbphrase[log_out]" border="0" />&nbsp;$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>

<!-- / nav buttons bar -->

powerful_rogue
10-25-2007, 08:20 PM
This is my navbar

<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>
<script type="text/javascript">
<!--
function openChatbox () {
chatbox = window.open('chatbox.php','chatbox','height=330,wi dth=650,directories=no,location=no,menubar=no,resi zable=yes,status=no,toolbar=no,scrollbars=yes');
}
//-->
</script>
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<!-- top nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_home.gif" alt="$vboptions[hometitle]" border="0" />&nbsp;<a href="$vboptions[homeurl]">Home</a></td>
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Forum" border="0" />&nbsp;<a href="/forum.php$session[sessionurl]">Forum</a></td>


<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_faq.gif" alt="Frequently Asked Questions" border="0" />&nbsp;$vbphrase[faq]</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/music.gif"/>&nbsp;<a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td>

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Quiz" border="0" />&nbsp;<a href="quiz.php?$session[sessionurl]">Quiz</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_purchase.gif" alt="Gallery" border="0" />&nbsp;<a href="photoplog/index.php?$session[sessionurl]">Gallery</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_download.gif" alt="Arcade" border="0" />&nbsp;<a href="arcade.php?$session[sessionurl]">Arcade</a></td>&nbsp;


<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_calendar.gif" alt="Dover Events" border="0" />&nbsp;<a href="calendar.php?$session[sessionurl]">Dover Events</a></td>&nbsp;

</tr>
</table>
</div>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <h1 class="h1navbar">$navbits[lastelement]</h1></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <h1 class="h1navbar">$vboptions[bbtitle]</h1></div>
</if>
<if condition="THIS_SCRIPT == 'index' AND $show['guest']">
<!-- guest welcome message -->
<div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">
Welcome to $vboptions[bbtitle]. $threadinfo[title] $vboptions[keywords]<br />
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase></div>
<!-- / guest welcome message -->

<else />

<if condition="THIS_SCRIPT == 'poll'">
<div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">The poll results for <b>$threadinfo[title]</b>. <br /></div>

<else />

<if condition="$thread[title]">
<br/><div class="navbar" style="font-size:8pt"><b>$thread[title]</b><if condition="$pagenumber>1"> Page $pagenumber</if>. Discuss <i>$thread[title]</i>, on $vboptions[bbtitle], the Dover Forum. $foruminfo[title].<br/>&nbsp;</div>

<else />
<if condition="$foruminfo[title]">
<br/><div class="navbar" style="font-size:8pt">
$foruminfo[title] <if condition="$pagenumber>1">Page $pagenumber </if> on $vboptions[bbtitle]. $foruminfo[description]<br/>&nbsp;

</div>
</if></if></if></if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong>$nzb_greeting</strong><br />
<strong>$nzb_greeting2</strong><br />

<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] -->
<if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=n o,toolbar=no,scrollbars=yes,resizable=yes,width=65 0,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] -->
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_usercp.gif" alt="Your Account" border="0" />&nbsp;<a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_register.gif" alt="Join $vboptions[bbtitle]" border="0" />&nbsp;<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>


<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Forums Start Page" border="0" />&nbsp;$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Today's Posts" border="0" />&nbsp;$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" />&nbsp;$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_memberlist.gif" alt="Member List" border="0" />&nbsp;$vbphrase[members_list]</a></td>
</if>
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Forums Rules" border="0" />&nbsp;<a href="rules.php$session[sessionurl_q]">$vbphrase[vbrules_rules]</a></td>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Quick Links" border="0" />&nbsp;$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" />&nbsp;$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="New Posts" border="0" />&nbsp;$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="$vbphrase[todays_posts]" border="0" />&nbsp;$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_logout.gif" alt="$vbphrase[log_out]" border="0" />&nbsp;$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>

<!-- / nav buttons bar -->

powerful_rogue
10-25-2007, 08:21 PM
Second part of my navbar - would only let me post it in two sections.

<if condition="$bbuserinfo[userid] != '0' AND $vboptions[enhancedinfobar]">
<div class="topinfo-center" align="center">
<div id="fscroller" class="fader" style="border:1px inset $stylevar[tborder_bgcolor]; background-color: $stylevar[alt1_bgcolor] width: 50%;">

<script type="text/javascript">
/* <![CDATA[ */
/***********************************************
* Fading Scroller- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var delay = 2000; //set delay between message change (in miliseconds)
var maxsteps=30; // number of steps to take to change from start color to endcolor
var stepdelay=40; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(155,155,155); // start color (red, green, blue)
var endcolor=new Array(0,0,0); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div class="smallfont" style="color: black; margin-left:5px; margin-top:2px;">'; //set opening tag, such as font declarations
fcontent[0]='Most Recent Topic: <a style="color: black;" href="$vboptions[bburl]/showthread.php?t=$enhthread[threadid]">$enhthread[title]</a> posted by <a style="color: black;" href="$vboptions[bburl]/member.php?u=$enhthread[postuserid]">$enhthread[postusername]</a>, $enhthread[dateline] ago.';
fcontent[1]='Welcome to our newest community member, <a style="color: black;" href="$vboptions[bburl]/member.php?u=$enhuser[userid]">$enhuser[username]</a>.';
fcontent[2]='Most Recent Post: <a style="color: black;" href="$vboptions[bburl]/showthread.php?t=$enhpost[threadid]">$enhpost[title]</a> posted by <a style="color: black;" href="$vboptions[bburl]/member.php?u=$enhpost[userid]">$enhpost[username]</a>, $enhpost[dateline] ago.';
fcontent[3]='<strong>Your Message Here!</strong>';
closetag='</div> ';



var fadelinks=0; //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
if (index>=fcontent.length)
index=0
if (DOM2){
document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
if (fadelinks)
linkcolorchange(1);
colorfade(1, 15);
}
else if (ie4)
document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
index++
}

// colorfade() partially by Marcio Galli for Netscape Communications. ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
var obj=document.getElementById("fscroller").getElementsByTagName("A");
if (obj.length>0){
for (i=0;i<obj.length;i++)
obj[i].style.color=getstepcolor(step);
}
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
if(step<=maxsteps) {
document.getElementById("fscroller").style.color=getstepcolor(step);
if (fadelinks)
linkcolorchange(step);
step++;
fadecounter=setTimeout("colorfade("+step+")",stepdelay);
}else{


clearTimeout(fadecounter);
document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
setTimeout("changecontent()", delay);

}
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
var diff
var newcolor=new Array(3);
for(var i=0;i<3;i++) {
diff = (startcolor[i]-endcolor[i]);
if(diff > 0) {
newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
} else {
newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
}
}
return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)

document.write('<div class="smallfont" style="color: black; margin-left:5px; margin-top:2px;">Welcome to our newest community member, <a href="$vboptions[bburl]/member.php?u=$enhuser[userid]">$enhuser[username]</a>.</div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent
/* ]]> */
</script>
</div></div></if>

<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</form>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 4 ] -->
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?$session[sessionurl]do=buddylist','pagerbuddylist','statusbar=no,menub ar=no,toolbar=no,scrollbars=yes,resizable=yes,widt h=$vboptions[vbpager_width],height=$vboptions[vbpager_height]'); return false;">$vbphrase[pager_open_vbpager]</a></td></tr>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 4 ] -->
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="vbmenu_option"><a href="mysmiliesvb.php?$session[sessionurl]">$vbphrase[mysmiliesvb_mysmilies]</a></td></tr>


<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
$globalannounce
</if>

Freesteyelz
10-26-2007, 01:04 AM
Replace what I set in red and bold starting from:

<!-- top nav buttons bar -->

And ending with

<!-- breadcrumb, login, pm info -->

With the attachment below. I duplicated your homepage and went over the nav section (in question) line by line. The result is that the white space between the logo and navbar has been removed in IE.



Your upper navbar section:


<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>
<script type="text/javascript">
<!--
function openChatbox () {
chatbox = window.open('chatbox.php','chatbox','height=330,wi dth=650,directories=no,location=no,menubar=no,resi zable=yes,status=no,toolbar=no,scrollbars=yes');
}
//-->
</script>
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<!-- top nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_home.gif" alt="$vboptions[hometitle]" border="0" />&nbsp;<a href="$vboptions[homeurl]">Home</a></td>
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Forum" border="0" />&nbsp;<a href="/forum.php$session[sessionurl]">Forum</a></td>


<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_faq.gif" alt="Frequently Asked Questions" border="0" />&nbsp;$vbphrase[faq]</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/music.gif"/>&nbsp;<a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td>

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Quiz" border="0" />&nbsp;<a href="quiz.php?$session[sessionurl]">Quiz</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_purchase.gif" alt="Gallery" border="0" />&nbsp;<a href="photoplog/index.php?$session[sessionurl]">Gallery</a></td>&nbsp;

<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_download.gif" alt="Arcade" border="0" />&nbsp;<a href="arcade.php?$session[sessionurl]">Arcade</a></td>&nbsp;


<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_calendar.gif" alt="Dover Events" border="0" />&nbsp;<a href="calendar.php?$session[sessionurl]">Dover Events</a></td>&nbsp;

</tr>
</table>
</div>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <h1 class="h1navbar">$navbits[lastelement]</h1></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <h1 class="h1navbar">$vboptions[bbtitle]</h1></div>
</if>
<if condition="THIS_SCRIPT == 'index' AND $show['guest']">
<!-- guest welcome message -->
<div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">
Welcome to $vboptions[bbtitle]. $threadinfo[title] $vboptions[keywords]<br />
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase></div>
<!-- / guest welcome message -->

<else />

<if condition="THIS_SCRIPT == 'poll'">
<div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">The poll results for <b>$threadinfo[title]</b>. <br /></div>

<else />

<if condition="$thread[title]">
<br/><div class="navbar" style="font-size:8pt"><b>$thread[title]</b><if condition="$pagenumber>1"> Page $pagenumber</if>. Discuss <i>$thread[title]</i>, on $vboptions[bbtitle], the Dover Forum. $foruminfo[title].<br/>&nbsp;</div>

<else />
<if condition="$foruminfo[title]">
<br/><div class="navbar" style="font-size:8pt">
$foruminfo[title] <if condition="$pagenumber>1">Page $pagenumber </if> on $vboptions[bbtitle]. $foruminfo[description]<br/>&nbsp;

</div>
</if></if></if></if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong>$nzb_greeting</strong><br />
<strong>$nzb_greeting2</strong><br />

<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] -->
<if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=n o,toolbar=no,scrollbars=yes,resizable=yes,width=65 0,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if>
<!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] -->
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_usercp.gif" alt="Your Account" border="0" />&nbsp;<a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_register.gif" alt="Join $vboptions[bbtitle]" border="0" />&nbsp;<a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>


<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Forums Start Page" border="0" />&nbsp;$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Today's Posts" border="0" />&nbsp;$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" />&nbsp;$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_memberlist.gif" alt="Member List" border="0" />&nbsp;$vbphrase[members_list]</a></td>
</if>
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Forums Rules" border="0" />&nbsp;<a href="rules.php$session[sessionurl_q]">$vbphrase[vbrules_rules]</a></td>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Quick Links" border="0" />&nbsp;$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" />&nbsp;$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="New Posts" border="0" />&nbsp;$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="$vbphrase[todays_posts]" border="0" />&nbsp;$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_logout.gif" alt="$vbphrase[log_out]" border="0" />&nbsp;$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>

<!-- / nav buttons bar -->




Let me know how it goes. :)

powerful_rogue
10-27-2007, 11:07 AM
Hiya,

Many thanks for that. I altered the code thats highlighted in red, however its still showing the large white section in IE.

Very very strange

ChrisLM2001
10-27-2007, 11:27 AM
$spacer_open

That's where one of your spacers is. vBulletin used to use just 2 <br /> tags there, but now it's a variable itself (if you read the source, it'll say it's the spacer only for IE, too).

The second is the page margin. Adjust the top margin to the size you need. 0; if you want it flush.

Freesteyelz
10-27-2007, 11:48 AM
Hiya,

Many thanks for that. I altered the code thats highlighted in red, however its still showing the large white section in IE.

Very very strange

I just checked your source and it still shows your original code. Did you replace it with my code in the TXT file?


Edited: I uploaded the attachment in the other post but here it is again. :)

powerful_rogue
10-30-2007, 02:03 AM
Hi Freesteyelz,

Getting really close now! However its taken the little bit of space out from Firefox. Ive attatched two attatchments of what it looks like when using the altered code.

First image is FF and the second one is IE

Freesteyelz
10-30-2007, 04:46 AM
Ahh, the fix made positive changes. :)

OK, the next step. 1) Of the two attachments which one do you prefer? 2) How much space (if any) do you want between the header and upper navbar?

powerful_rogue
10-30-2007, 11:50 AM
I prefer the 1st attatchment. Ideally I would like the space to be as is currently shown on FF at the moment. Ive added an attatchment.

Thanks for all your help so far :)

Freesteyelz
10-31-2007, 03:26 AM
NP. :) The quick rewrite of the code (fix) was to eliminate the space between the logo and upper navbar; to see where the problem existed. So no breaks <br /> or spacers were added. For some reason I didn't save the file I was using to edit your site so I'll need to redo it. I'll have something by tomorrow (Halloween :D) and then we'll go from there. :)

Freesteyelz
11-02-2007, 02:48 AM
Update: I did not forget about this. I just didn't anticipate a few things I needed to do. Please check in tomorrow. I'm in the Hawaii time zone. :)

powerful_rogue
11-02-2007, 02:01 PM
No worries Freesteyelz. Whenever youve got the time :)

Freesteyelz
11-03-2007, 04:09 AM
In my fix replace:


<!-- top nav buttons bar -->
<div style="text-align:center">



with:


<!-- top nav buttons bar -->
<div style="text-align:center;padding:10px 0 0 0">



Adjust the "10px" to whatever number. I've provided 2 attachments. The first is with IE and the other in FF. The space between the logo and upper navbar is the same when the fix provided in post #17 (https://vborg.vbsupport.ru/showpost.php?p=1369655&postcount=17) + the above replacement update. Let me know how it goes. :)


Edited: Forgot to include attachments.

powerful_rogue
11-05-2007, 09:30 AM
Thank you so much for your time and patience.

That worked a treat :D :D

Really really appreciated!

Freesteyelz
11-06-2007, 02:47 AM
Cheers! :)