Forums

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33822
    slev
    Member

    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

    #84598
    Chris Coyier
    Keymaster

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.