Use this .ui-datepicker { width: 17em; padding: .2em .2em 0; font-
size: 12px !important;}On Mar 28, 9:53 am, Steven Black <[email protected]> wrote: > It seems to be browser-dependent. I just can't get this to work in > Firefox. IE7, Chrome, and Safari for Windows are all OK. > > That said, make sure you aren't facing cache issues, and that your new > CSS is, in fact, sticking if you are adding it dynamically. > > Can anyone get this to work in FireFox? > > I'm referring to thisoverride: > > .ui-datepicker{ font-size:50%; width: 17em; padding: .2em .2em 0; > background:red;} > > Note: the "background:red;" works everywhere, including FireFox, but > the font-sizeapparently does not. > > **--** Steve > > On Feb 26, 2:47 pm, "[email protected]" <[email protected]> wrote: > > > Hi, I'm getting same issue as Jahelka but when input the fontsizeit > > still doesn't work: > > .ui-datepicker{ width: 17em; padding: .2em .2em 0; font-size: 62.5%;} > > Any help? Thanks. > > Mike > > > On Jan 11, 8:41 am, "Ca-Phun Ung" <[email protected]> wrote: > > > > Hi, > > > > Thedatepickercontainer is appended to the body so wrapping a div around > > > the input won't work. Try adding your font-sizechanges to the > > > .ui-datepickerCSS class. e.g.: > > > > .ui-datepicker{ > > > font-size: /* your fontsizehere */; > > > > } > > > > On Sat, Jan 10, 2009 at 8:38 AM, Jahelka > > > <[email protected]>wrote: > > > > > Hi all. New to jQuery! > > > > > I've got adatepickerup and running on a test page and everything > > > > works great. The only problem I am having is adjusting thesizeof > > > > thedatepicker. If I run the demo of thedatepickerthat is included > > > > in the dev bundle, thedatepickershows up at a reasonablesize. If I > > > > run thedatepickeron my test page, it is HUGE! So I dug into the css > > > > and found the one tag that seems to make the difference. The body tag > > > > on the test page is getting a font-size: 62.5%; So I put that in my > > > > test page and now thedatepickeris back to a reasonablesize. So > > > > then I started thinking, lets put this font-sizeadjustment in a div > > > > tag or something and put it around the input box that the datapicker > > > > triggers off. This DOES NOT WORK. > > > > > I don't want to adjust thesizeof the body, or else I will have to > > > > majorly rework all of my existing css. Why can't I put a div tag > > > > around my input tag and adjust the font-sizethrough inheritance just > > > > like it is obviously doing with the body tag? > > > > -- > > > Ca-Phun Ung > > > +http://yelotofu.com > > > + hongkong, zce, jquery, php, css, html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
