Jump to content

Different sizes for different fonts on the same element


lastlifelost

Recommended Posts

I'm trying to find a way to set different font sizes for my primary and back-up fonts. The issue is as follows:

#content {   font-family: fontA,fontB,sans-serif;   font-size: 42pt;}

fontA is a much smaller font than fontB, so 42pt works just fine for it. But when fontA fails, fontB is now much too large. Is there a way to say "fontA is 42pt, fontB is 24pt" etc?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...