The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › specifying different font-size for different fonts in a font-family
Hi, I’m having a problem with some font-sizes when a browser uses a ‘backup font’ for instance I’m using
{font-family:century gothic, futura; font-size:30px;}
how can i state if century gothic is used use font size 30px
BUT
if futura is being used us font size 25px (because sentences seem to be longer when written in futura)
Thanks in advnace
Sam
That’s one of the abilities you get when you use a web font loader: http://code.google.com/apis/webfonts/docs/webfont_loader.html
You style font sized based on the actual font that gets applied, via class name.