Untitled
By glazou on Friday 15 November 2002, 11:26 - General - Permalink
Font sizes
I am fighting with font sizes. And believe me, when you have do that between HTML and CSS, that's no fun...
HTML attribute size on FONT | CSS value for font-size property |
---|---|
xx-small | |
1 | x-small |
2 | small |
3 | medium |
4 | large |
5 | x-large |
6 | xx-large |
7 | |
-3 | |
-2 | |
-1 | smaller |
+1 | larger |
+2 | |
+3 |
Furthermore, our implementation of 'larger' and 'smaller' values for the 'font-size' CSS property bound the resulting font size to the range xx-small/xx-large... If the inherited font size is <= to xx-small, the resulting font size should be 90% of the inherited one, and if the inherited is >= xx-large, then the resulting should be 150% of the inherited. Fixing it now.