Fixed Background Causes Adsense To Shake (Reward for Fix)

Discussion in 'CSS' started by speci4list, May 17, 2008.

Thread Status:
Not open for further replies.
  1. #1
    When I use a fixed background on my site, adsense (and any javascript ads) "shake" when using FireFox 2. The ads display fine in Internet Explorer 7 and FireFox 3 though.

    You can see what I mean here: http://www.gtaiv.cc

    When I change the background to scroll the ads display fine in FireFox 2.

    How can I fix it so that the ads don't "shake" in FireFox 2 while having a fixed background?

    Whoever gives me a working resolution, I will reward $5.00 via paypal. It's not much, but it's all I can afford right now.

    Thanks
     
    speci4list, May 17, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I can't be bothered to find your CSS from the 1 billion CSS files linked inside your CSS, the only thing that could be doing such a thing is due to the way you have "styled the ad"
    So basically you have something unessecary added to the CSS for the DIV that the Ad is inside. As far as i'm concerned the only thing you'd need to add is margin: 0px auto; to center the ad, and nothing else.
     
    wd_2k6, May 17, 2008 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    That is a side-effect of transparancy with the javascripted adverts being in an iframe. iFrames are separate 'windows' from the page content, and as such only render in their new position AFTER the page it is contained on itself renders.

    I'm not aware of any real workaround apart from not using transparancies, which render like crap slowing most computers to a crawl in the first place when used over such a large area.

    That and the total train wreck the page ends up in IE6...
     
    deathshadow, May 17, 2008 IP
Thread Status:
Not open for further replies.