Friday, 15 January 2010

html - Google Adsense responsive add not displayed correctly -


I have Google Adsense sensitive ads on my web site, they are going to appear in their parents' containers, but often They overflow it.

A simple example page, a DIV with an ADI in it:

Normally when the browser (body element)> 500 pixels wide, the ad performance is correct, but when it & lt ; 400px performance will often be wrong (vertical overflow) I could certainly hide the overflow, but the joint will be cut partially, so this is not an option.

I have tried many code changes, but any ideas without success?

Sample page code:

  & lt ;! DOCTYPE HTML & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; Title & lt; / Title & gt; & Lt; Meta name = "viewport" content = "width = device-width, initial-scale = 1.0" & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div style = "width: 320px; height: 70px; range: 3px solid red" & gt; & Lt; Script async src = "// pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> & Lt; Ins class = "adsbygoogle" style = "display: block" data-ad-client = "ca-pub-5645119364072707" data-ad-slot = "9521328853" data-ad-format = "auto" & gt; & Lt; / Ins & gt; & Lt; Script & gt; (Adsbygoogle = window.adsbygoogle || []). Push ({}); & Lt; / Script & gt; & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

Screenshots: Enter image details here

No comments:

Post a Comment