View Comments

The Flickering Problem Google Adsense

If you have been to this site in the day and a half since I made the switch to the new design, then you might have noticed a very weird problem that I have been battling today. “The Adsense Flicker” For some reason, that I still don’t understand, when you hovered over a link on the right side of the page, it caused the ads displayed by Google’s Adsense program flicker a ghost of itself where your mouse was.

Initially I thought this was a by product of not removing all of my javascript code I was toying with earlier, but after removing any reference what-so-ever to the fact that I ever thought about that, the flickering still remained. I played with my CSS file for quite a while untill I got serious and did a Google Search. I returned a lot of message board postings, which ususally return results, but are more often than not, buried in mindless drivel. After reading through those I saw a lot of different guesses and “soltions” all of them different in some way. However there was a common thread: Link hovers with border manipulation.

Turns out after a quick search of my CSS file, I had left some ill-concieved lines of CSS in my a:hover tag. Once removed, the flicker was gone.

a:hover {
color: #990000;
border: 0; <-- Bad CSS! Bad!
}

Mystery solved. But now the question remains…what the hell was I doing with “border: 0″ in my hover anyway?

Don’t code websites drunk kids!

Update: This article seems to have made it to the front page of Digg. So welcome Digg users! Feel free to poke around, leave some comments and come back anytime.
blog comments powered by Disqus