样式化jQueryUI DatePicker [英] Styling the jQueryUI DatePicker
本文介绍了样式化jQueryUI DatePicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用jquery datepicker( http://jqueryui.com/demos/datepicker/)。
I am using the jquery datepicker (http://jqueryui.com/demos/datepicker/).
演示页面上的日期选择器小而紧凑。但是,当我在我的网站上使用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屋!
查看全文