I'm trying to test the jQuery calendar tool, but it appears to be too big, bigger than the preview page.
Any ideas?
Thanks!
In the css file change the font-size e.g. my css file happens to be
/css/smoothness/jquery-ui-1.8.1.custom.css
and I changed
.ui-widget {
font-family: Verdana,Arial,sans-serif;
font-size: 1.1em;
}
to
.ui-widget {
font-family: Verdana,Arial,sans-serif;
font-size: 0.7em;
}
I ran into the same problem. I had to change the font sizes in the custom CSS to something other than 1.25em. I believe that I used small as that was what I used elsewhere in my app.
While browsing the page in FireFox, I was able to inspect the entire calendar control in FireBug and change the font-size to medium (I think, maybe small) and it rendered perfectly at that point. Just went into the UI CSS and permanently changed it and no complaints since.
Check out my post here...
Or just add this css line:
#ui-datepicker-div {
font-size:12px !important;
}
You can use Firebug's Inspect feature to select one of the values and you will see what stylesheets sets the size of the font. Then you can change it to fit your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With