对jQueryUI DatePicker进行样式化 [英] Styling the jQueryUI DatePicker

查看:125
本文介绍了对jQueryUI DatePicker进行样式化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jquery datepicker( http://jqueryui.com/demos/datepicker/ )。

I am using the jquery datepicker (http://jqueryui.com/demos/datepicker/).

演示页面上的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规则。您应该使用保罗链接的方法来检查是否是这种情况。

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆