样式化 jQueryUI DatePicker [英] Styling the jQueryUI DatePicker
本文介绍了样式化 jQueryUI DatePicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 jquery 日期选择器 (http://jqueryui.com/demos/datepicker/).
I am using the jquery datepicker (http://jqueryui.com/demos/datepicker/).
演示页面上的日期选择器小巧紧凑.然而,当我在我的网站上使用日期选择器时,日历是巨大的.我估计每个日期都使用 12 pt 字体.
The datepicker on the demo page is small and compact. However, when I use the datepicker on my site, the calendar is HUGE. I would estimate that each date is using 12 pt font.
如何让日子变短?
推荐答案
简单的答案:您可以在 css 中将字体大小添加到.ui-datepicker".
The simple answer: You could add a font size in your css to ".ui-datepicker".
但我认为您可能有一些相互冲突的 css 规则.您应该使用 Paulo 链接中的方法来检查是否是这种情况.
But I think you may have some css rules that are conflicting. You should use the method from Paulo's link to check if this is the case.
这篇关于样式化 jQueryUI DatePicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文