我在第69行重置后有以下内容
a, a:visited {
text-decoration: none;
font-size: 1.3em;
color: #333;
font-family: "museo";
border-bottom: #444 solid 1px;
}
然后在第303行我有:
.leaderboard_ad {
background: #fff;
margin: 10px 36px;
position: relative;
width: 728px;
height: 70px;
padding: 5px;
border-radius: 3px;
border-bottom: #e4e4e4 solid 3px;
text-align: center;
}
.ad_title {
display: block;
border: 0;
color: blue;
font-size: 1.4em;
}
.ad_subhead {
color: green;
border: 0;
text-decoration: underline;
}
这是一个开发文件,这就是我收到广告的原因,它是adsense的占位符。
现在,在大多数页面上,它给了我想要的风格。然而,在一个页面上,排行榜广告占位符被一般锚定样式覆盖,我无法弄清楚原因。复制并粘贴了HTML,因此它是100%相同的。除了一页之外,它似乎是正确的方式...我已经清除了我的缓存,它只是继续前进。这似乎违背了所有逻辑。有什么想法吗?
HTML的代码:
<div class="leaderboard_ad">
<a href="#" class="ad_title">Ad Title</a>
<a href="#" class="ad_subhead">www.google.com/adsense</a>
<p>This is an example of a leaderboard AdSense text ad.</p>
</div>
答案 0 :(得分:0)
将您的选择器切换为a.ad_title
和a.ad_subhead
?