joshuag Posted January 22, 2011 Share Posted January 22, 2011 Hey guys, I've got this website: http://twopersonhottubs.net/salt-water-hot-tubs As you can see, on this page there is a google adsense ad. I'd really like the top of this ad to be lined up with my content. When I look at it in firebug, there are white gaps both in the div container holding the ad, and in the content box around it. Does anyone know how to fix this? Quote Link to comment https://forums.phpfreaks.com/topic/225299-mysterious-white-space-help/ Share on other sites More sharing options...
haku Posted January 22, 2011 Share Posted January 22, 2011 You have this in your code: <div style="float: right;"><script type="text/javascript"><!-- google_ad_client = "pub-8436384097518357"; /* TPHT- SWHT */ google_ad_slot = "1251205006"; google_ad_width = 336; google_ad_height = 280; //--> </script><br /> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Remove the <br /> between the script tags. Quote Link to comment https://forums.phpfreaks.com/topic/225299-mysterious-white-space-help/#findComment-1163512 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.