0
可能重复:
jQuery datepicker next/prev imagesjQuery的日期选择上一个和下一个按钮
我使用jQuery UI日期选择器插件1.9.2
我有prev.png
和next.png
图片,告诉请如何使这个按钮成为prev和next按钮的背景图像?
可能重复:
jQuery datepicker next/prev imagesjQuery的日期选择上一个和下一个按钮
我使用jQuery UI日期选择器插件1.9.2
我有prev.png
和next.png
图片,告诉请如何使这个按钮成为prev和next按钮的背景图像?
我用这样的:
.ui-datepicker .ui-datepicker-prev { background: url("../images/next-previous.png") no-repeat scroll -2px center transparent; } .ui-datepicker .ui-datepicker-next { background: url("../images/next-previous.png") no-repeat scroll -18px -2px transparent; right: 2px; }
这将是您使用的jQuery UI的主题的CSS。 – CharliePrynn