On Fri, Feb 8, 2013 at 3:01 AM, Stephan Aßmus <superstippi@xxxxxx> wrote: > Hi, > > Am 31.01.2013 um 01:25 schrieb jscipione@xxxxxxxxx: >> >> 8bbff5c: Update dd style in API docs. >> >> Only make the font size 12px for the special note, warning, etc. blocks >> not all dd blocks. > > Wouldn't it be better to generally use DPI independent size values like > "12pt"? The short answer is no. The long answer is: pt's are fixed size like px's but and are meant for print (as they are a fraction of an inch) whereas px are used for screen. To make font sizes scale you need to use em's. The design did use em's before (and still does to a certain extent) but there are problems with them. It is difficult to get the font size you intend because em's scale based on the parent element which in turn scales based on its parent. The solution is to use root-relative em's which are like em's but always scale based on the font size of the root element instead of the parent element. However, root-relative em's are an emerging standard and thus do not work on all browsers (i.e. IE). Thus the answer for now is to use px.