0
我有一個滾動圖像125x80。下面的代碼是簡單的html & css並且工作正常,但是當我嘗試將#questions div集成到JQuery Tools選項卡窗格中時,該按鈕從不出現。我想知道我做錯了什麼。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 Tab Pane中,方法如下:
<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>
在此先感謝!