Responsive Google Adsense
Problem :
Google Adsense have several recommended ads sizes for publisher to put on their website. However, these ads recommended sizes are not optimize for mobile screens and often not suitable for website with responsive design. Usually, it is the width size that mess up the screen when viewed with different devices such as tablets and smartphones.
Diagnostic :
Because the Adsense codes are generated and most people just cut and paste with the hard coded width size. No one paid attention that width size can be tweaked slightly to cater for responsive website.
Solution :
I've found that the quickest way to solve the width problem is just to change it from ... let say width:200px
to width:100%
Give it a try and see how it goes. My solution had been tested on desktop, laptop, iPad, Android Tablet and Lenovo Android smartphone.
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+8.7k Golang : Build and compile multiple source files
+8k Golang : Number guessing game with user input verification example
+10.8k Golang : How to determine a prime number?
+12k Golang : 2 dimensional array example
+9.8k Golang : Test a slice of integers for odd and even numbers
+8.5k Golang : Take screen shot of browser with JQuery example
+11.9k Golang : convert(cast) string to integer value
+18.3k Golang : Set, Get and List environment variables
+13.1k Golang : Count number of runes in string
+12k Golang : flag provided but not defined error
+4.7k Google : Block or disable caching of your website content
+6.6k Golang : How to solve "too many .rsrc sections" error?