CSS font stacks, media style sheets & web standards

Your banner ad here

WestNIC provides reliable web hosting services

25% off cpanel web hosting and reseller hosting deals. Promo: codestyle25off

Site navigation below

CSS fonts should be based on a generic font family to ensure an appropriate style font is rendered in any circumstances. Preferred font names should be declared in order of preference in a comma separated font family list tailored for specific platforms.

CSS font family: monospace

Monospace fonts have a fixed width like typewriters and often have strong angular or block serifs. Monospace font faces are often used code samples and have a simple, functional font style. Use the CSS font family name monospace.

The most common monospace fonts

The only monospace font that is likely to be present on all systems is Microsoft Courier New, which is relatively common on all platforms. However, the original Courier font on which it is based is more common on Mac and Unix family systems. Andale Mono is also available on Windows, Mac and Unix family systems, but is far less common.

Monospace font names may indicate the style of lettering, with suffixes "console", "typewriter", "mono" and "fixed".

Most common monospace fonts on Windows systems to 7 November 2009
Font name Installed (%) Sample Image
Courier New 99.05% 99.05% Text Image
Lucida Console 98.54% 98.54% Text Image
OCR A Extended 58.26% 58.26% Text Image
Consolas 53.11% 53.11% Text Image
Lucida Sans Typewriter 30.29% 30.29% Text Image
Bitstream Vera Sans Mono 26.23% 26.23% Text
Andale Mono IPA 4.10% 4.10% Text
Andale Mono 3.66% 3.66% Text Image
Terminal 3.57% 3.57% Text Image
OCRB 3.21% 3.21% Text
Monaco 2.73% 2.73% Text
Monotype.com 1.04% 1.04% Text Image
Most common monospace fonts on Mac systems to 7 November 2009
Font name Installed (%) Sample Image
Monaco 98.61% 98.61% Text Image
Courier 98.05% 98.05% Text Image
Courier New 89.69% 89.69% Text Image
Andale Mono 88.30% 88.30% Text Image
Lucida Sans Typewriter 62.54% 62.54% Text
Bitstream Vera Sans Mono 16.25% 16.25% Text
Consolas 10.60% 10.60% Text
Monotype.com 0.71% 0.71% Text
Most common monospace fonts on Unix systems to 7 November 2009
Font name Installed (%) Sample Image
Nimbus Mono L 95.09% 95.09% Text Image
DejaVu Sans Mono 93.30% 93.30% Text Image
Bitstream Vera Sans Mono 85.58% 85.58% Text Image
Courier 10 Pitch 82.69% 82.69% Text
Lucida Sans Typewriter 76.19% 76.19% Text Image
FreeMono 72.15% 72.15% Text Image
Liberation Mono 71.77% 71.77% Text
Courier New 64.42% 64.42% Text
Andale Mono 56.13% 56.13% Text
Courier 45.40% 45.40% Text Image
Luxi Mono 31.17% 31.17% Text Image
Fixed 24.23% 24.23% Text Image
Lucida Typewriter 12.44% 12.44% Text
Terminal 11.35% 11.35% Text
DejaVu LGC Sans Mono 5.77% 5.77% Text
Vera Sans Mono 5.26% 5.26% Text
Monaco 2.86% 2.86% Text

Other CSS font family resources

Article feedback

Your comments on this article will be appreciated, please use the form below to submit your views. If you would like a reply or article update notification, include your email address.

Information: Your email address will not be mis-used. If you include your address you may be sent a personal reply, you will not be added to any mailing list unless you request update notification. Read the site privacy statement for details.

Add this page to your chosen social bookmarking service

Style warning - please read

Home · CSS · Java · Javascript · HTML · Help · Log