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;
}
對不起,第二個工作,可能有緩存問題之前。 –