Home › Forums › CSS › ‘font:12px/30px’ not working › Re: ‘font:12px/30px’ not working
December 28, 2012 at 10:03 pm
#119266
Member
if you are using the “font” property you have to include a font-size and a font-family or else the browser falls back to default values.
font: 15px/30px ‘Verdana’;
for example. as an alternative to the line-height in pixels you can use
font: 15px/2 ‘Verdana’;
2 (line-height) is a multiplicator of the font-size.