这是我现在所拥有的:
<button type="button" name="moreinfo" id="moreinfo" onClick=" var a = findPos(this); RevLevel(a[0], a[1]); "> <img src="images/question.png" height="16" width="17" alt="more info" border="0" /> </button>`
我正在使用Firefox 15.0.1,并且在我的问号图形周围有一个按钮。我只希望问号图形周围没有按钮形状。
最佳答案
为什么不只将工具提示和click事件附加到图像本身?
<img name='moreinfo' id='moreinfo' onclick=" var a = findPos(this); RevLevel(a[0], a[1]); " src="images/question.png" height="16" width="17" alt="more info" border="0"/>