MyBB Community Forums

Full Version: "wrapper" div leaves document flow when viewing permalinks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

Look at the following two links in Chrome:

Working: http://www.datesphere.com/boards/showthread.php?tid=46

Broken: http://www.datesphere.com/boards/showthr...345#pid345

Notice the part between the user panel and the main forum content is missing in the broken link. I inspected the page in developer tools and noticed this is because the "wrapper" div that comes after the "content" div is rendered up at the same place as the user panel, instead of below the user panel where it should be.

This only happens when I click links with URL parameter "pid=[number]#pid[number]", and it only happens in Chrome.

Does anyone have any idea why this might be happening, and how I might fix it? Obviously it's Chrome-specific (and I've reported it as a bug with the Chrome team), but in the mean time it seems like there must be some quick and dirty html or css trick to fix it, unless there's just something unorthodox about the way MyBB renders these permalink pages?

I've tried adding <div style="clear:both;"></div> after the user panel to fix this, and though it works when I add the code in Chrome Developer Tools, it doesn't work when I add it to the actual code of my site.

Any help would be much appreciated. I've already spent many hours trying to figure this out Sad

Thanks,

Chris