Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a site with a normal image header, a menu, then below that an adsense leaderboard, and then the content below that.

The problem is that google instant previews, capture the adsense text and hightlights it (puts it in a box) at google instant previews of my pages. I really don't like the ad text be emphasized as the most important of my previews. Maybe google preview bot is doing that because adsense text is on the top.

How I could either make instant preview ignore adsense text, or somehow reposition the adsense div with css, so that even if it's loaded after the content to be able to be positioned on the top of it?

I use 960 grid

share|improve this question
    
Google Instant Previews show pages the same way any WebKit browser would [source]. It attempts to show pages the same way your site's visitors see them. If you want to change how predominant the ad block is for Google Preview, you'd have to change how predominant it is for all your visitors. –  Nick May 26 '11 at 9:00
1  
@Nick, that's what my research showed too, so make your comment an answer. "No, you can't do that" is a valid answer. –  paulmorriss May 26 '11 at 9:27
    
@paulmorriss Thanks, Paul. I've done that. –  Nick May 26 '11 at 10:05
add comment

1 Answer

Google Instant Previews show pages the same way any WebKit browser would do, which is the same way your visitors see your site. From Google's Site Preview FAQ:

"The preview generator renders JavaScript, AJAX, CSS3, frames, and iframes in the same way that a Chrome / Webkit-based browser would."

If you want to change how predominant the AdSense ad is in Google's previews, you'd have to change how predominant it is for all your visitors.

Alternatively, you can prevent Google Instant Previews on your site altogether by using the nosnippet meta tag:

<meta name="googlebot" content="nosnippet">

Note that this would also remove the text that appears below your page title that describes your page in Google's search results, which may be less than ideal.

share|improve this answer
    
By the looks of it, the reason your AdSense is highlighted is because it has matching text. –  paulmorriss May 26 '11 at 10:06
    
Yes it has matching text. I don't think it is wise to take out. My question above is also how i can reposition the adsense code, so that it is lower in the code, but higher in appearance, with css. –  john May 26 '11 at 14:01
    
@john If you're looking to do that for performance reasons, you could use the jQuery lazyload plugin to defer loading of ads. –  Nick May 26 '11 at 14:08
    
Thanks nick. I m looking to do it for seo reasons. so that potential visitors don't see emphasized the text of a random ad –  john May 26 '11 at 14:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.