Jump to content

Manage size of backup font-family


mboehler3
 Share

Recommended Posts

I am using a custom font on my webpage, and in one specific browser, the font is not showing up. This is fine -- if the custom font doesn't load, the next available font I've set in my CSS is Arial. My problem is that the set font-size of my custom font is 70 pixels. If the custom font doesn't show up, Arial is used and is 70 pixels, which is really, really large. I would like to make it so that, if Arial is used, the font-size is 48 pixels. Is this possible to do through CSS?

Link to comment
Share on other sites

Not sure but...... The basic answer to your question is that if a particular font is absolutely necessary then a text replacement technique my be warranted. If not then don't use exact measurements. IMHO the days of pixel counting in mainstream websites is over. Use either percentages or EM's Hope this helps

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...