The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS ‘font:12px/30px’ not working Re: ‘font:12px/30px’ not working


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.