Page 1 of 1

Forum alignment issues

Posted: Tue Apr 13, 2010 11:18 am
by DanAoS
Hi,

I'm using IE8, and the forum layout keeps switching between left aligned and centre aligned. I've noticed it's being caused by the adverts, looks like it might just be the Google Adsense ones. Any chance of adding a style to the forum container div below the advert to force the left alignment? :)

Dan

Re: Forum alignment issues

Posted: Tue Apr 13, 2010 12:10 pm
by Dakkar98
Clicking refresh once or twice or ten times will sometimes get the justification to go back to normal.

I think it is tied to the banner ads somehow.
It has done it since back in 2008, but when TradeMaster Adam implemented some changes a short time ago, the ad banners stopped popping up and everything remained left justified.
When he got everything fixed and the ad banners came back so did the justification issues.


Hopefully he is still working on it.

Re: Forum alignment issues

Posted: Tue Apr 13, 2010 12:25 pm
by DanAoS
Oh, I know I can refresh a few times to clear it, except when looking at search results (unless I wait a while between refreshes due to the search frequency limiting). Just thought I'd mention it though as I did a search and did find anything about it.

As I mentioned, I've noticed each time it appears to be Google Adsense ads that are appearing, next time it happens I'll take a look at the source.

EDIT: got it - it's only Adsense ads, the closing center and div tags for the mkt class div are missing, so the forum content ends up inside the mkt div. It's specific to just the Google Adsense ads, and the result is a not a non-compliant xHTML page as the missing closing tags are never included. Hopefully this'll help identify the code block that's not quite working as intended.

Re: Forum alignment issues

Posted: Thu Apr 15, 2010 3:37 am
by kturock
it's IE8 and compatability mode.

I posted about this prblem monthes ago when I got stuck with IE8. click on the compatability mode. I'm using IE7 so, I don't have the icon on the screen. It's somewhere on the top of the page.

Re: Forum alignment issues

Posted: Thu Apr 15, 2010 6:09 am
by DanAoS
kturock wrote:it's IE8 and compatability mode.

I posted about this prblem monthes ago when I got stuck with IE8. click on the compatability mode. I'm using IE7 so, I don't have the icon on the screen. It's somewhere on the top of the page.
All that does is hide the problem. IE8 is simply much more compliant with the W3C specs, and so now the unclosed center causes the text of the enclosed divs to be centred. If the HTML is corrected to include the closing center and div tags after the Google AdSense ads then it will fix the page. It doesn't affect the banner ads, it's a mistake in the HTML in the Google Adsense block of code.

Re: Forum alignment issues

Posted: Thu Apr 15, 2010 5:56 pm
by Ironhide
Use Firefox. I've had no problems with alignment issues since I have been using it. IMO, it also has better security features than IE8.

Re: Forum alignment issues

Posted: Thu Apr 15, 2010 7:33 pm
by DanAoS
Ironhide wrote:Use Firefox. I've had no problems with alignment issues since I have been using it. IMO, it also has better security features than IE8.
Given that (a) I'm unable to install Firefox at work due to company policy, and (b) the security features argument is without evidence these days, I'm sticking with IE :)

It still doesn't change the site shoving all the forum content inside the advert div when Google Adsense ads appear, and generating invalid HTML. I was just trying to help ...

Re: Forum alignment issues

Posted: Thu Apr 15, 2010 8:31 pm
by MagickalMemories
You did help, Dan.

*I* didn't know what was causing it. I sent the information you posted to the site owner, just in case.

Eric