Font size in CSS - % or em? -


when setting size of fonts in css, should using percent value (%) or em? can explain advantage?

there's article on web typography on a list apart.

their conclusion:

sizing text , line-height in ems, percentage specified on body (and optional caveat safari 2), shown provide accurate, resizable text across browsers in common use today. technique can put in kit bag , use best practice sizing text in css satisfies both designers , readers.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -