Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Css: Calibri and Arial
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedCss: Calibri and Arial

 Post Reply Post Reply
Author
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Direct Link To This Post Topic: Css: Calibri and Arial
    Posted: 23 February 2010 at 7:53am
Hi guys,

I'm making small website and i would like to use Calibri fonts. However if user don't have calibri installed then the second option is Arial font, which is ok. But Calibri fonts are smaller so Im using 14px as calibri is selected as default font for this website. But 14px is too big for Arial. Is there a way to select font-size based on a font-family?
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 23 February 2010 at 5:02pm
Don't use px. Use %.

Pixels (px) and points (pt) are print media measurements. They work ok when the media is a fixed size and resolution - like a printed piece of paper. They break down when using variable resolution media.
A 14px font may look good on your monitor which may be 1024x768 pixels but it will look like fly poop on a 1600x1200 monitoer and huge on an 800x600 monitor. In a web phone, it may look gigantic. Different browsers will also affect how large it appears.

Web media is not like print media. With print media you have absolute control over appearance. With web media, you "suggest" how it should appear. The browsers, end users and screen resolutions make the final decision.


Calibri is a MS Office font that first appeared with MS Office 2007. If you don't have some version of MS office greater that 2007, you won't have it. As a relatively small percentage of web users will have it, it's not something to base a site design around.

Google "web safe fonts" for a list of fonts that most users will have. You'll get a bit more assurance that your pages look at least similar to the end users regardless of what browser and screen resolution they use.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.