As an example, you can set the font-size on the body to be 62.5% which then lines up pixel and em values nicely. More info:
http://www.clagnut.com/blog/348/ "OK let's dive into ems. I'll show you, from scratch, how to size text in a document using ems. I'll assume throughout that we are dealing with a browser set to 'medium' text. The default size for 'medium' text in all modern browsers is 16px. Our first step is to reduce this size for the entire document by setting body size to 62.5%: BODY {font-size:62.5%} This takes 16px down to 10px which I'm using purely because it's a nice round number for example purposes - 10px text is too small for the real world. From now on it's easy to think in pixels but still set sizes in terms of ems: 1em is 10px, 0.8em is 8px, 1.6em is 16px, etc." - Richard On Fri, Oct 10, 2008 at 9:43 AM, Cloudream <[EMAIL PROTECTED]> wrote: > > CSS generated by themeroller defines font-size with EM, so you could > define smaller font-size than default(16px) on parent elements of your > widgets.(div,or html/body) > > On 10月10日, 上午11时53分, Jquer <[EMAIL PROTECTED]> wrote: > > Normal size in Theme Preview: http://ui.jquery.com/themeroller > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
