125x80 のロールオーバー画像があります。次のコードは単純な html&css であり、正常に動作しますが、#questions div を JQuery ツール タブ ペイン内に統合しようとすると、ボタンが表示されません。私は何が間違っているのだろうかと思っています。
<html>
<head>
<style>
#questions a:link{
height: 40px;
width: 125px;
display: block;
background: url(../images/btn-questions.png) no-repeat left top;
}
#questions a:hover{ background-position: left bottom; }
</style>
</head>
<body>
<div id="questions"> <a href="#"></a> </div>
</body>
</html>
それはうまくいきます。次に、次の方法で JQuery Tools タブ ペインに統合しようとします。
<div class="panes">
<div>
This is the first tab. This text appears inside the pane
<img src="../This image works too.png" />
<div id="questions">
<a href="#">WHY THIS ROLLOVER BUTTON DOESN'T APPEAR INSIDE THE PANE?</a>
</div>
</div>
</div>
前もって感謝します!