MyBB Community Forums

Full Version: Debug help: Line accross the screen.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can anyone tell me why when you first load my site there is a white bar across the top but when you scroll or do anything it dissapears? If you need a link see my sig. It might just be a browser thing so is it doing it to anyone else?
Hi,

It does not appear in Firefox or Internet Explorer 7 for me.

Moving to themes & templates.
Multiple spaces in XML can cause unwanted sprites. Sad

In the header template, remove all of the multiple spaces so that it looks something like this:

<table width="100%" border="15" align="center" cellpadding="4" cellspacing="0" bordercolor="#FFFFFF">
<tr align="center" valign="middle" bgcolor="#FFFFFF"> 
<td colspan="5"> 
<div align="center"> 
<p class="headeraa"> 
<table width="100%" height="38" border="0">
<tr> 
<td width="100%" height="150" align="center" valign="top" background="http://www.wheel-world.net/header/new%20header%20bg.gif"> 
<div align="center"><img src="http://www.wheel-world.net/header/new%20header.gif" height="100%" border="0" align="top"></div></td>
</tr>
</table>

And use the Tabulator to position the script and NOT the space bar.
Thanks for the help guys. Thats good if its not appearing in your browsers. Chris are you using IE7 with vista or XP because it isnt doing it on my vista pc but it is doing it on my xp one. As for the header code sugestion, the header on the portal page isnt actually the "header" template. It is added to the "portal" template so that i dont have to have the welcome bar on the home page. I will however check this on the portal template. If you want to see what i mean i have a screen shot. The strange thing is that it dissapears when i scroll down then back up?

Thanks.

Edit I removed all <p> and <tr> tags in the whole thing (they didnt do anything any way) but it is still doing it.
IE7 /XP SP2 the problem is still there. Sad

I detect the background color as cccc99, you also have it as FFFFFF in the script above.

Maybe there's a conflict there ? Wink
Its done in tables not css if that helps?
FF and Opera don't usually load errors they find, unfortunately IE does. Sad

Here are just two errors that FF reports. Sad

cross_marquee.style.top=0
    text-align: center;

The  are sprites caused by multiple spaces in the css and you have many multiple spaces in your theme which can cause unpredictable results.

I suggest that you debug the whole theme for multiple spaces and start again from there. Wink

You will also have to do a Search & Replace for the sprites; I suggest you do that first.
How do you view errors in firefox?
Tools -> Error Console
as Lopalong said remove all the multiple spaces, try to see if there is some in the following templates
index, header_welcome_block_guest, header_welcome_block_member, header
Pages: 1 2