0
<div id='div-gpt-ad-131415161-0' style='height:250px; width:300px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-131415161-0'); });
</script>
</div>
我想覆盖上面的内联CSS并设置为auto。我试着用如下,但没有工作...用CSS替代内联样式适用于谷歌广告div
#div-gpt-ad-131415161-0 div[style] {
height: auto !important;
width: auto !important;
}
OR
div[style]#div-gpt-ad-131415161-0 {
height: auto !important;
width: auto !important;
}
对不起,第二个工作,可能有缓存问题之前。 –