0

the jquery datepicker functions very fine. It's just that the size is too big. I tried:

ui-datepicker{
font-size:10px;} 

to resize it but turned out having unnecessary whitespaces above and below each row. How to remove it? I'm just new to css.

Thanks for the help!

4

1 に答える 1

0

あなたの例ui-datepickerではドットがありません。次のように変更font-sizeしてみてください:.ui-datepickerまたは.ui-datepicker table

デモ サイトhttp://jqueryui.com/datepicker/では、フォント サイズが正常に機能し、日のセルは定義されたフォント サイズに応じてスケーリングされます。そのページに移動し、ブラウザの開発者ツールバー (Firefox の Firebug など) を使用してテストします。このような開発者ツールを使用すると、CSS を変更し、変更を直接表示できます。

于 2013-02-08T08:20:16.980 に答える