View Full Version : which is the cleanest way of specifying the font-size's unit
chaits
12-18-2006, 05:22 PM
Can any1 guide me on which unit to be used for the font-size...like % , em ,px?
and if %, why that only?
if em , why that?.................
please do help me on this..........
thanks in advance.....
Graft-Creative
12-18-2006, 05:50 PM
There's a fairly reasonable consensus on setting the overall font size by applying a percentage to the body element, with maybe the line hight specified within the same declaration i.e.
body {font-size: 78%/1.2}
..then using em values to adjust font size on other elements further down the document tree.
Kind regards,
Gary
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.