Join or Login

Posts Tagged ‘CSS’

Customize the Google Adsense Search Result page without fear

by mr. H8ers


When I first put the Google Adsense Search feature on my site I was appalled at how the results page looked, about 1000px of dead space on the bottom, and after reading the guidelines, I think I might have a solution. 

The solution I have is a pretty simple one that does not play with the google adsense code.

All you really have to do is put this in your Cascading Style Sheet.

#googleSearchUnitIframe iframe {height:1050px;}

or if you do not have a Cascading Style Sheet your can put this in head the section of your results page

<style type=”text/css”>
<!––
#googleSearchUnitIframe iframe {height:1050px;}
––></style>

I hope this will help some of the people using the google adsense for search program.

Editors’ Note: You might have to play around with the height to optimize it to your site. for example {height:1350px;}

Powered by WordPress