繁体   English   中英

无法更改Fancybox关闭按钮

[英]Can not change Fancybox close button

我想将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;
}

有人可以解决这个问题吗?

好,解决了。 只需要指定正确的图像路径即可。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM