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
Post a Comment