Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Quick CSS question


  • Please log in to reply

#1
Supercalifragilistic

Supercalifragilistic

    Member

  • Member
  • PipPipPip
  • 404 posts
Why do some people use a percentage as a font size?
  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Using percentages for fonts and other dimension sizes helps to make your page a little more flexible. Whether to use percentages alone for fonts depends on whether you need to have a print friendly page, too. Pts or ems are better for that. Pixels really don't allow that close of control over fonts.

Font sizes depends on browser, O/S and font used.

Ron
  • 0

#3
david3rd

david3rd

    Member

  • Member
  • PipPip
  • 15 posts
Also, studies have shown that using 76% as the base font size results in the actual font produced being as close to exactly the same size on most browsers.
  • 0

#4
Greenstone

Greenstone

    New Member

  • Member
  • Pip
  • 2 posts
As I think Major Payne was saying, people use font sizes to maintain perspective. If you want your header text to be larger than your subtitle, you'd use percentages. That way your site will maintain consistency, even when users have different text sizes with their browsers.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP