无法更改 Fancybox 关闭按钮
我想用自定义按钮替换 Fancybox 1.3.4 中的默认关闭按钮。 我已将 CSS 更改如下,但按钮未显示。
#fancybox_close {
width: 66px;
height: 22px;
position: absolute;
right: 10px;
top: 10px;
cursor: pointer;
background: url('../js/jquery/fancybox/closelabel.gif') 0 0 no-repeat;
}
有人可以帮助解决这个问题吗?
I want replace default close button in Fancybox 1.3.4 with custom one.
I've changed CSS as follows, but button not showing.
#fancybox_close {
width: 66px;
height: 22px;
position: absolute;
right: 10px;
top: 10px;
cursor: pointer;
background: url('../js/jquery/fancybox/closelabel.gif') 0 0 no-repeat;
}
Can someone help with this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,这已经解决了。只需指定正确的图像路径即可。
OK, this is solved. Just need to be specified correct path to image.