Browser size is irrelevant to font-size. Except in special cases, fonts should always be specified in ems. This makes everything relative to a 'base fonts-size' for that element. All em sizes eventually relate back to the BODY font-size, which should usually be specified as a percent. Here is a simple example...
body { font-size: 90%; } h1 { font-size: 1.75em; } h2 { font-size: 1.5em; } h3 { font-size: 1.3em; } p, table { font-size: 1em; } .small { font-size: 0.8em; } Using fonts like this allows all browsers (including IE) to resize the fonts to suit the user's preference. It is a bad habit of many web designers to use tiny fonts because 'it looks good', without considering the usability of the site when viewed in high resolution or by users with less-than-perfect eyesight. So the UI theme stylesheets are simply following best-practices. Plus em-sizes are compatible with any website, even those that do not use ems in their own stylesheets (as they should). Using any other measure - even percent - could give unexpected results. /Kevin On Feb 9, 12:56 am, Yosef <yosef...@gmail.com> wrote: > Why in themes font size in em?if user reduce or increase size of > browser if its in em only half of letter will be visible --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---