は、だから私はこのCSS持っているサブクラスを表示しようとしている:はCSSクラスを隠そうとしたが、その後
.addthis_toolbox {
display: none;
}
.title_offeringHope .addthis_toolbox {
display: block;
}
そして、いくつかの理由で、クラス「title_offeringHope」ウォン」とのdivの下.addthis_toolboxをtを表示します。
これには理由がありますか?これをどうやって解決するのですか?ここで
はHTMLです:
<div class="h_lft_column">
<h2 class="title_OfferingHope">
<span>Offering Hope & Real Help</span>
</h2>
<p>CONTENT</p>
<div class="addthis_toolbox addthis_default_style " addthis:title="Offering Hope & Real Help " addthis:url="URL">
<a class="addthis_button_facebook_like at300b" fb:like:layout="button_count" title="Send to Facebook_like" href="#">
<fb:like class=" fb_edge_widget_with_comment fb_iframe_widget" href="URL" font="arial" width="90" action="like" show_faces="false" layout="button_count" ref=".T0znaEuo91k.like">
</a>
<a class="addthis_button_tweet at300b" title="Tweet" href="#">
<iframe class="twitter-share-button twitter-count-horizontal" scrolling="no" frameborder="0" allowtransparency="true" src="URL" style="width: 109px; height: 20px;" title="Twitter Tweet Button">
</a>
<a class="addthis_counter addthis_pill_style" style="display: block;">
<a class="atc_s addthis_button_compact">
<a class="addthis_button_expanded" title="View more services" href="#"></a>
</a>
<div class="atclear"></div>
</div>
</div>
次れる関連するHTMLを表示します。 –
あなたのクラスはCSSドキュメントのこの順番になっていますか?ブラウザの要素を調べて、適用するスタイルを確認してください。それらは優先されているこのクラスの3番目の参照かもしれません。 – Curt
@Curtは、第2のものがより高い特異性を有するので、順序は重要ではない。しかし、はい、もっとあるはずです。私はこれがCSSのすべてではないと考えています。 –