'Responsive adsense with maxwidth not working
I'm using this line of code to insert ads in a website:
<div style="max-width:816px; width:100%;">
<ins class="adsbygoogle" style="display:block;max-width:816px; width:100%; clear:both" data-ad-client="ca-pub-xxxxxxx" data-ad-slot="xxxxxx" data-ad-format="auto" data-full-width-responsive="true">
</ins></div>
Most of the time it works perfect, but sometimes the ads load with a different max-width: 1110px;
There are a few other ads that comes with 1110px width, which I think is the maximum size of the page, but I thought that limiting the tag or the div container would solve it, but it didn't.
What can be the reason? Even if I remove the "width: 100%" it still breaks the limit and change the max-width on it's on.
EDIT:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


