Log in

View Full Version : Mysterious space in my header


Awjvail
03-03-2008, 07:29 AM
Hi there

I've got a mysterious line break in my header/log in area, but it only occurs in Internet Explorer, and only when logged out.

Here's a screenie depicting it:
http://img184.imageshack.us/img184/1987/headerprobqc3.png

See how theres a space in between the header graphic and the log in area?

Here's what its supposed to look like (and what it does look like in Firefox):
http://img184.imageshack.us/img184/8546/supposedheaderug8.png

I've searched high and low, and for the life of me, I can't figure out what is causing it.

Can you find anything that would cause a break in IE but not FF?
Here's my log-in area code.

<!-- START TOP LOGIN BAR -->
<tr>
<td>
<table bgcolor="#FFFFFF" border="0" width="799" height="30" align="center">
<tr>
<td nowrap="nowrap" style="padding:0px">


<div id="login">

<if condition="$show['member']">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>
<if condition="$show['pmstats']"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></if>
<!--post reports -->
<if condition="$vbulletin->openreports"><b><br /><a href="$modcpdir/postreports.php?do=list">$vbphrase[postreports_postreports]</a>:&nbsp;$vbulletin->openreports <br /></if>
<!--end post reports -->
<!-- login form -->
<else />
<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>
<td class="smallfont" width="100%" align="right"><label for="navbar_username">User Name</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="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td><td class="smallfont" width="100%"><label for="navbar_password">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 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" />Save?</label><td><input type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" /></td></td><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 -->
</if>
</div>
</td>
</tr>
</table>
<!-- END TOP LOGIN BAR -->

Thanks

snakes1100
03-03-2008, 10:10 AM
post a link to your site, if guests cant view it, setup a test account for ppl to use.

i cant really understand ppl asking for help for their website and wont post a link so ppl can see it....

Awjvail
03-03-2008, 11:23 AM
unfortunately it is a private forum.

i can provide more screenshots if you wish

snakes1100
03-03-2008, 11:58 AM
Sorry, screenshots arent going to do me much good.

Princeton
03-03-2008, 12:46 PM
make sure the table has cellspacing="0"

you can also try adding
style="border-collapse: collapse;"

Awjvail
03-05-2008, 09:27 AM
Nope, didn't work.

Princeton
03-05-2008, 01:05 PM
I suggest you talk with your designer.

snakes1100
03-05-2008, 06:28 PM
or post the link to the site as has been requested, would make it a lot easier to get ppl to help u.