Forum Moderators: phranque

Message Too Old, No Replies

Adsense causes choppy scrolling in Firefox

         

Bluestreak

6:05 am on Jun 21, 2007 (gmt 0)

10+ Year Member



I recently joined Adsense and placed the standard leaderboard sized text ads near the head and foot of my pages.

The problem with Firefox (2.0.0.4) is that when the ads are in view, the scrolling gets choppy, until you scroll past them, then the scrolling is smooth again. It only happens with the text ads, not the video or image versions. Really quite pisses me off too. IE7 and IE6 seem to scroll fine though.

Anyone else have a similar problem? I'm using absolute positioning for the most part for my CSS design if that provides any clues.

Karma

11:57 am on Jun 21, 2007 (gmt 0)

10+ Year Member



No idea, works fine for me. Have a look on other sites to see if the problem persists.

vincevincevince

12:05 pm on Jun 21, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is the absolute positioning which causes the problem. The only way I got around it was changing to a floated layout.

Bluestreak

2:30 pm on Jun 21, 2007 (gmt 0)

10+ Year Member



I've checked other sites with the same adsense ads and they appear the scroll ok. :-(

You know, I suspected it was due to absolute positioning, but I wonder why it would cause that? Unfortunately I'm using it for SEO purposes and since it's hard coded into my theme, I wouldn't be able to change to a floated layout without making massive changes. Oy...

Bluestreak

3:07 pm on Jun 21, 2007 (gmt 0)

10+ Year Member



Found the culprit!

In my CSS for background seetings, I had added the code:

background-attachment:fixed;

for the background image I was using. I'm not sure why I added this, but I removed the code and the choppiness is gone. :-)