Jump to content
mboehler3

Manage size of backup font-family

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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...