WTF MyBB? div.body_wrapper {margin-top: -2000px}

scudsucker

Executive Member
Joined
Oct 16, 2006
Messages
9,021
Reaction score
5,240
So in Chrome for the last few weeks, I've had to use incognito mode to view MyBB due to the fact that the page is offset vertically. See the image below - sorry for the size, it is full size.

This is how MyBB looks when I load any page. You can see the scrollbar at left is at the top; but much of the content is overflowing above the top of the page. Highlighted in the dev tools, I think the problem is the rule for
Code:
div.body_wrapper
which places the div at -2000px.

30b1a4z.jpg

If I edit this rule to 0px, content shows up fine.

But in an incognito window, the same rule is in place, it is not over-ruled, and yet content is shown correctly.

Obviously it must be something that is present in normal mode, and not in incognito. Adblock is the obvious possibility - but disabling it doesn't change anything. The other plugins do not mess with the DOM or CSS.

What could be wrong?

Edit - Macbook Pro OS 10.9.4, Chrome 37.0.2062.94
 
Try disabling all of your plugins. Even though you think they don't manipulate the dom, you'd be surprised.
 
DOH!

Something called "blocker" - which I do not recall installing - does indeed mess with the CSS. Although it only had one rule, which didn't look like it should affect MyBB - but I cant be arsed to search for why it is happening. Uninstall.
 
In Safari with OS X 10.10 the blue bar at the top is cut off.
 
DOH!

Something called "blocker" - which I do not recall installing - does indeed mess with the CSS. Although it only had one rule, which didn't look like it should affect MyBB - but I cant be arsed to search for why it is happening. Uninstall.

Good to know for future reference.
 
Top
Sign up to the MyBroadband newsletter
X