Jump to content

Mysterious White Space -- Help!


joshuag

Recommended Posts

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?

 

Link to comment
https://forums.phpfreaks.com/topic/225299-mysterious-white-space-help/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.