2014-03-13 59 views
0

谷歌广告意识码如何降低,如果IFRAME

<div id="opacity_ads" class="advertisment" align="center"> 
<ins class="adsbygoogle" 
    style="display:inline-block;width:250px;height:250px;background-color: #FFF" 
    data-ad-client="ca-pub-8031746607239719" 
    data-ad-slot="6445123983"></ins> 
<script> 
(adsbygoogle = window.adsbygoogle || []).push({}); 
</script> 
</div> 

该脚本显示广告correctly.This脚本创建的height:270pxwidth:480px。因为在后台创建此iframe代码的iframe代码的高度,只能在控制台(iframe)上查看,在广告下面,动态url是他们的,我无法点击到该网址,因为这个iframe是由后台Google Ad-sense脚本生成的。如何防止这个iframe如何将高度降低到70px。

回答

0

CSS的CSS文件中有一点:

iframe{ height: 270px;} 

尝试。