Unstoppable Domains

AdSense conflicting with my CSS

Spaceship Spaceship
Watch

LikuiD

Established Member
Impact
9
Hi,
I've tried adding AdSense to my site, but it always messes up my page.
This seems to happen only in Chrome and in Safari, but it works fine with IE & Firefox

Here's a sample page I created to show the problem:
deutsched.com/adsense.php

Try displaying it with Chrome & Firefox, and you'll notice the difference

I've tried tracking down the source of the error, and it seems to be that part of the CSS file, however I'm not that good at programming, so I'm unsure of how to fix it:

Code:
#header {
position: relative;
height: 85px;
}

Any help would be greatly appreciated.
Thanks !
 
Last edited by a moderator:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I'm not sure that my suggestion is logically correct, but it seems to be working. Anyway, this is better than nothing :)

So, here is my workaround for this issue:
Try to rearrange your DIV's like this
Code:
<div id="wrap">
	<div id="content-wrap"> ... </div>
	<div id="rightbar"> ... </div>
	<div id="footer"> ... </div>
</div>

As I've found out, the problem is caused by two factors:
1) innatural order of blocks in html flow (left bar, right bar, main content)
2) ad block in the right bar

Hope this helps :)
 
0
•••
Thanks for trying to help un4given :)
But I've tried that and it didn't work

I decided to change the whole template, I wasn't that convinced about it
And its a new website anyways, so nobody will notice anything :D

Thanks once again !
 
0
•••

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back