SlideShare a Scribd company logo
1 of 3
Download to read offline
Better CSS Font Stacks | Unit Verse

Unit Verse

Currently viewing Better CSS Font Stacks (permalink). Go to main page.

Other posts in "design"

Better CSS Font Stacks
by Nathan Ford 4 years ago

440 Comments

One aspect of designing for the web that almost immediately offends designers is the
lack of fonts that are considered safe to use. While it is true that there are only a
handful of web safe fonts, the ones we do have at our disposal can be quite powerful
and diversely useful. On top of that, CSS gives us a nice little thing called a font

Other posts in "feature"

stack.
FONT STACKS GIVE YOU FREEDOM.
You want to use Gill Sans? Go right ahead. Nothing should stop you. Font stacks are
prioritized lists of fonts, defined in the CSS font-family attribute, that the browser will
cycle through until it finds a font that is installed on the user’s system. This means
that you can use Gill Sans, and if your users don’t have it, you can give them an
adequate substitute that will not diminish their experience. As Mr. Richard Rutter has
already illustrated, there are quite an array of typefaces that may be sitting on your
user’s machine ready to serve your design needs.
Unfortunately, common web practices and/or technologies are not fully utilizing

Other posts in "typography"

this functionality. There seems to be a lack of consideration for the process of
creating these stacks. For example, Dreamweaver’s defaults look like so:
Arial, Helvetica, sans-serif
Courier New, Courier, monospace
Times New Roman, Times, serif
Georgia, Times New Roman, Times, serif
Verdana, Arial, Helvetica, sans-serif
Geneva, Arial, Helvetica, sans-serif
As you can see, there are not a whole lot of options, and the substitutes are often not
appropriate. This is an example of how lax typographic standards on the web are
leading to poor design decision making. I am not going to speculate, here, as to
whose fault it is that typography on the web leaves much to be desired… there are
probably as many culprits as there are offenses. I will say, though, that font stack are
ultimately design factors, and should be scrutinized as such.
ALL IN THE FAMILY
When creating a stack, first consider the context of the text. Is it going to be a
headline, sub-head, or body copy? This can determine the appropriate order of a
stack, considering certain fonts work well for setting blocks of copy, while others work
better at larger sizes. For example, Helvetica’s nuances work well on screen, when
the text is large enough, while Helvetica Neue’s slightly wider letter forms read better
at smaller sizes on screen. Arial reads slightly better than Helvetica at smaller sizes
on the screen, as well. Therefore, your font stack for Helvetica may need to be
different depending on whether it is used for body copy or a page title.
Once context is considered, there are few more things to consider when building a
stack. First, select your ideal candidate (more on that later). From there, the path of
your choices may fork depending on the context.

http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/[4/23/2013 6:59:06 PM]

The easiest way for your clients
to edit content. Unify: Browse.
Edit. Done.
Better CSS Font Stacks | Unit Verse

TITLES [ GREATER THAN 12PX ]:
font-family: Ideal, Alternative, Common, Generic;

1. Ideal – Your selection need not be bound by what is considered universally “web
safe”. There are many more fonts that have a fairly high market penetration that you
can choose from. Just don’t pick anything too obscure, or you will be the only one
seeing it.
2. Alternative – When selecting headline and title fonts, remember that the nuances will
be more noticeable, and therefore you need to select an alternative that is closer in
spirit than size or relative value. To find a spiritual cousin, you may want to look
within the same type classification, or look for something created by the same type
designer. Mainly, look for similarities in the letter forms.
3. Common – At this point, you just need something similar that is not going to break
your layout.
4. Generic – Cap it off with the generic classification, for those zealots that don’t believe
in installing fonts.

PARAGRAPHS [ LESS THAN OR EQUAL TO 12PX ]:
font-family: Ideal, Fit, Common, Generic;

1. Ideal – Even if you intend this copy to match the titles, you may want to consider the
readability of the typeface over the span of a few paragraphs. For example: Helvetica
Neue and Arial are better suited to be read small and on screen than Helvetica.
2. Fit – Find something that is well represented, cross-platform that will not wreck your
layout. For example: There is about 2 pts difference between the width of Times New
Roman and Georgia. Multiply that by the number of characters in your copy blocks,
and you could spell disaster for your otherwise-nicely-considered design.
3. Common – Something similar in flavor and well-represented.
4. Generic – Again, finish with the generic classification.
Keep in mind that if your ideal font is only well represented on Macs, for example,
you may want use an alternative that is more prevalent on Windows machines. For
more information on the prevalence of certain typeface on certain operating systems,
take a look at codestyle.org/css/font-family/.
STACK YOUR DECK
Now, using these guidelines, and building on the experience of much more
knowledgeable type gurus, I have compiled a list of font stacks that will both open up
more font possibilities for web designers, and hopefully offer more appropriate
substitutes:
p – balanced for paragraphs or body copy
t – balanced for headlines or titles
Arial, “Helvetica Neue”, Helvetica, sans-serif - p, t
Baskerville, “Times New Roman”, Times, serif - p
Baskerville, Times, “Times New Roman”, serif - t
Cambria, Georgia, Times, “Times New Roman”, serif - p, t
“Century Gothic”, “Apple Gothic”, sans-serif - p, t
Consolas, “Lucida Console”, Monaco, monospace - p, t
“Copperplate Light”, “Copperplate Gothic Light”, serif - p, t
“Courier New”, Courier, monospace - p, t
“Franklin Gothic Medium”, “Arial Narrow Bold”, Arial, sans-serif - p, t

http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/[4/23/2013 6:59:06 PM]
Better CSS Font Stacks | Unit Verse

Futura, “Century Gothic”, AppleGothic, sans-serif - p, t
Garamond, “Hoefler Text”, Times New Roman, Times, serif - p
Garamond, “Hoefler Text”, Palatino, “Palatino Linotype”, serif - t
Geneva, “Lucida Sans”, “Lucida Grande”, “Lucida Sans Unicode”, Verdana, sans-serif - p
Geneva, Verdana, “Lucida Sans”, “Lucida Grande”, “Lucida Sans Unicode”, sans-serif - t
Georgia, Palatino,” Palatino Linotype”, Times, “Times New Roman”, serif - p
Georgia, Times, “Times New Roman”, serif - t
“Gill Sans”, Calibri, “Trebuchet MS”, sans-serif - p
“Gill Sans”, “Trebuchet MS”, Calibri, sans-serif - t
“Helvetica Neue”, Arial, Helvetica, sans-serif - p
Helvetica, “Helvetica Neue”, Arial, sans-serif - t
Impact, Haettenschweiler, “Arial Narrow Bold”, sans-serif - p, t
“Lucida Sans”, “Lucida Grande”, “Lucida Sans Unicode”, sans-serif - p, t
Palatino, “Palatino Linotype”, Georgia, Times, “Times New Roman”, serif - p
Palatino, “Palatino Linotype”, “Hoefler Text”, Times, “Times New Roman”, serif - t
Tahoma, Geneva, Verdana - p
Tahoma, Verdana, Geneva - t
Times, “Times New Roman”, Georgia, serif - p, t
“Trebuchet MS”, “Lucida Sans Unicode”, “Lucida Grande”,” Lucida Sans”, Arial, sans-serif - p
“Trebuchet MS”, Tahoma, Arial, sans-serif - t
Verdana, Geneva, Tahoma, sans-serif - p
Verdana, Tahoma, Geneva, sans-serif - t

I did deliberately leave out some fonts, *cough* Comic Sans *cough*, because I do
not particularly see the use in them, and I don’t believe that these examples will solve
every typographic purpose, but hopefully it’s a start. Feel free to apply the above rules
and create some stacks of your own.
If you’re interested in a more comprehensive comparison, download the pdf [13.1
mb]. In it, you will find examples of both titles and copy, set in the different font
stacks.
Now, font stacks help us open up a few more typographic options to create a
more engaging online communication, but how do we choose which specific face to
use? And which of these web safe fonts will work as a good compliment? More on
that in my next post.
***
This article is available in Belorussian provided by

http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/[4/23/2013 6:59:06 PM]

More Related Content

Viewers also liked

Better CSS with Compass/Sass
Better CSS with Compass/SassBetter CSS with Compass/Sass
Better CSS with Compass/SassJohan Ronsse
 
70 Expert Ideas For Better Css
70 Expert Ideas For Better Css70 Expert Ideas For Better Css
70 Expert Ideas For Better Cssfherz
 
Perfect Styling - How to write better CSS
Perfect Styling - How to write better CSSPerfect Styling - How to write better CSS
Perfect Styling - How to write better CSSArtem Tabalin
 
Grokking TechTalk #16: React stack at lozi
Grokking TechTalk #16: React stack at loziGrokking TechTalk #16: React stack at lozi
Grokking TechTalk #16: React stack at loziGrokking VN
 
Grokking TechTalk #16: Maybe functor in javascript
Grokking TechTalk #16: Maybe functor in javascriptGrokking TechTalk #16: Maybe functor in javascript
Grokking TechTalk #16: Maybe functor in javascriptGrokking VN
 
Grokking TechTalk #16: F**k bad CSS
Grokking TechTalk #16: F**k bad CSSGrokking TechTalk #16: F**k bad CSS
Grokking TechTalk #16: F**k bad CSSGrokking VN
 
Grokking TechTalk #16: Html js and three way binding
Grokking TechTalk #16: Html js and three way bindingGrokking TechTalk #16: Html js and three way binding
Grokking TechTalk #16: Html js and three way bindingGrokking VN
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging ChallengesAaron Irizarry
 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesNed Potter
 

Viewers also liked (10)

Better CSS with Compass/Sass
Better CSS with Compass/SassBetter CSS with Compass/Sass
Better CSS with Compass/Sass
 
70 Expert Ideas For Better Css
70 Expert Ideas For Better Css70 Expert Ideas For Better Css
70 Expert Ideas For Better Css
 
Perfect Styling - How to write better CSS
Perfect Styling - How to write better CSSPerfect Styling - How to write better CSS
Perfect Styling - How to write better CSS
 
A better CSS: Sass and Less - CC FE & UX
A better CSS: Sass and Less - CC FE & UXA better CSS: Sass and Less - CC FE & UX
A better CSS: Sass and Less - CC FE & UX
 
Grokking TechTalk #16: React stack at lozi
Grokking TechTalk #16: React stack at loziGrokking TechTalk #16: React stack at lozi
Grokking TechTalk #16: React stack at lozi
 
Grokking TechTalk #16: Maybe functor in javascript
Grokking TechTalk #16: Maybe functor in javascriptGrokking TechTalk #16: Maybe functor in javascript
Grokking TechTalk #16: Maybe functor in javascript
 
Grokking TechTalk #16: F**k bad CSS
Grokking TechTalk #16: F**k bad CSSGrokking TechTalk #16: F**k bad CSS
Grokking TechTalk #16: F**k bad CSS
 
Grokking TechTalk #16: Html js and three way binding
Grokking TechTalk #16: Html js and three way bindingGrokking TechTalk #16: Html js and three way binding
Grokking TechTalk #16: Html js and three way binding
 
Designing Teams for Emerging Challenges
Designing Teams for Emerging ChallengesDesigning Teams for Emerging Challenges
Designing Teams for Emerging Challenges
 
UX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and ArchivesUX, ethnography and possibilities: for Libraries, Museums and Archives
UX, ethnography and possibilities: for Libraries, Museums and Archives
 

Similar to Better css font stacks unit verse

Font-families in CSS
Font-families in CSSFont-families in CSS
Font-families in CSSMindy McAdams
 
Design Concepts and Web Design
Design Concepts and Web DesignDesign Concepts and Web Design
Design Concepts and Web DesignMindy McAdams
 
11. Typography data visualization .pdf
11. Typography data visualization .pdf11. Typography data visualization .pdf
11. Typography data visualization .pdfssusercc3ff71
 
Multimedia: Making it Happen - Text
Multimedia: Making it Happen - TextMultimedia: Making it Happen - Text
Multimedia: Making it Happen - Textjoelk
 
16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...
16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...
16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...prologuitoedic
 
Best Resume Fonts Creative. Garamond is a classic
Best Resume Fonts Creative. Garamond is a classicBest Resume Fonts Creative. Garamond is a classic
Best Resume Fonts Creative. Garamond is a classicBrandy Johnson
 
Presentation 1 asgardia
Presentation 1 asgardiaPresentation 1 asgardia
Presentation 1 asgardiaAlix Fraser
 
Designing Type for User Interface
Designing Type for User InterfaceDesigning Type for User Interface
Designing Type for User InterfaceAndi Galpern
 

Similar to Better css font stacks unit verse (20)

Font-families in CSS
Font-families in CSSFont-families in CSS
Font-families in CSS
 
Design Concepts and Web Design
Design Concepts and Web DesignDesign Concepts and Web Design
Design Concepts and Web Design
 
11. Typography data visualization .pdf
11. Typography data visualization .pdf11. Typography data visualization .pdf
11. Typography data visualization .pdf
 
Web Typography
Web TypographyWeb Typography
Web Typography
 
Multimedia: Making it Happen - Text
Multimedia: Making it Happen - TextMultimedia: Making it Happen - Text
Multimedia: Making it Happen - Text
 
16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...
16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...
16. A Basic Introduction to Typography (Inglés) (Presentación) autor Northern...
 
Stem 22 text
Stem 22 textStem 22 text
Stem 22 text
 
Type
TypeType
Type
 
Week 12 CSS Font - family
Week 12 CSS Font - familyWeek 12 CSS Font - family
Week 12 CSS Font - family
 
CSS font-stacks
CSS font-stacksCSS font-stacks
CSS font-stacks
 
Typography3 bh
Typography3 bhTypography3 bh
Typography3 bh
 
Best Resume Fonts Creative. Garamond is a classic
Best Resume Fonts Creative. Garamond is a classicBest Resume Fonts Creative. Garamond is a classic
Best Resume Fonts Creative. Garamond is a classic
 
Presentation 1 asgardia
Presentation 1 asgardiaPresentation 1 asgardia
Presentation 1 asgardia
 
Font type research
Font type researchFont type research
Font type research
 
Typography and Web Design
Typography and Web DesignTypography and Web Design
Typography and Web Design
 
Fonts!
Fonts!Fonts!
Fonts!
 
Web Typography
Web TypographyWeb Typography
Web Typography
 
Typography and Web Design
Typography and Web DesignTypography and Web Design
Typography and Web Design
 
Designing Type for User Interface
Designing Type for User InterfaceDesigning Type for User Interface
Designing Type for User Interface
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 

More from Xuan Le

Bài giảng về sức khỏe theo đông tây
Bài giảng về sức khỏe theo đông tâyBài giảng về sức khỏe theo đông tây
Bài giảng về sức khỏe theo đông tâyXuan Le
 
Thinking design
Thinking designThinking design
Thinking designXuan Le
 
A5 minh triet giac ngo
A5 minh triet giac ngo A5 minh triet giac ngo
A5 minh triet giac ngo Xuan Le
 
Giúp bạn nhanh hòa đồng với công ty mới
Giúp bạn nhanh hòa đồng với công ty mớiGiúp bạn nhanh hòa đồng với công ty mới
Giúp bạn nhanh hòa đồng với công ty mớiXuan Le
 
Bạn có 2 phút để tự giới thiệu về mình
Bạn có 2 phút để tự giới thiệu về mìnhBạn có 2 phút để tự giới thiệu về mình
Bạn có 2 phút để tự giới thiệu về mìnhXuan Le
 
10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn
10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn
10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấnXuan Le
 
Chanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dich
Chanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dichChanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dich
Chanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dichXuan Le
 
Cách tư duy sẽ làm thay đổi cuộc sống của bạn
Cách tư duy sẽ làm thay đổi cuộc sống của bạnCách tư duy sẽ làm thay đổi cuộc sống của bạn
Cách tư duy sẽ làm thay đổi cuộc sống của bạnXuan Le
 
11 triết lý kinh doanh - TienLx
11 triết lý kinh doanh - TienLx11 triết lý kinh doanh - TienLx
11 triết lý kinh doanh - TienLxXuan Le
 
Type classification-ebook
Type classification-ebookType classification-ebook
Type classification-ebookXuan Le
 
Fsfinalbook single
Fsfinalbook singleFsfinalbook single
Fsfinalbook singleXuan Le
 
Typographers glossary
Typographers glossaryTypographers glossary
Typographers glossaryXuan Le
 
Two side
Two sideTwo side
Two sideXuan Le
 
Bạn có máu phát minh không ?
Bạn có máu phát minh không ?Bạn có máu phát minh không ?
Bạn có máu phát minh không ?Xuan Le
 
Giải pháp cho các vấn đề truyền thông
Giải pháp cho các vấn đề truyền thôngGiải pháp cho các vấn đề truyền thông
Giải pháp cho các vấn đề truyền thôngXuan Le
 
10 cách đơn giản chữa đau lưng
10 cách đơn giản chữa đau lưng10 cách đơn giản chữa đau lưng
10 cách đơn giản chữa đau lưngXuan Le
 
ý Chí thường có giới hạn
ý Chí thường có giới hạný Chí thường có giới hạn
ý Chí thường có giới hạnXuan Le
 
Vé liveshow hà nội còn mãi 1 tình yêu
Vé liveshow hà nội còn mãi 1 tình yêuVé liveshow hà nội còn mãi 1 tình yêu
Vé liveshow hà nội còn mãi 1 tình yêuXuan Le
 
6 bi quyet thanh cong cua steven job
6 bi quyet thanh cong cua steven job6 bi quyet thanh cong cua steven job
6 bi quyet thanh cong cua steven jobXuan Le
 
Tutoria mvc framework
Tutoria mvc frameworkTutoria mvc framework
Tutoria mvc frameworkXuan Le
 

More from Xuan Le (20)

Bài giảng về sức khỏe theo đông tây
Bài giảng về sức khỏe theo đông tâyBài giảng về sức khỏe theo đông tây
Bài giảng về sức khỏe theo đông tây
 
Thinking design
Thinking designThinking design
Thinking design
 
A5 minh triet giac ngo
A5 minh triet giac ngo A5 minh triet giac ngo
A5 minh triet giac ngo
 
Giúp bạn nhanh hòa đồng với công ty mới
Giúp bạn nhanh hòa đồng với công ty mớiGiúp bạn nhanh hòa đồng với công ty mới
Giúp bạn nhanh hòa đồng với công ty mới
 
Bạn có 2 phút để tự giới thiệu về mình
Bạn có 2 phút để tự giới thiệu về mìnhBạn có 2 phút để tự giới thiệu về mình
Bạn có 2 phút để tự giới thiệu về mình
 
10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn
10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn
10 cách giới thiệu bản thân ấn tượng trong cuộc phỏng vấn
 
Chanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dich
Chanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dichChanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dich
Chanh niem-co-ban-ts-henepola-gunaratana-luong-thanh-binh-dich
 
Cách tư duy sẽ làm thay đổi cuộc sống của bạn
Cách tư duy sẽ làm thay đổi cuộc sống của bạnCách tư duy sẽ làm thay đổi cuộc sống của bạn
Cách tư duy sẽ làm thay đổi cuộc sống của bạn
 
11 triết lý kinh doanh - TienLx
11 triết lý kinh doanh - TienLx11 triết lý kinh doanh - TienLx
11 triết lý kinh doanh - TienLx
 
Type classification-ebook
Type classification-ebookType classification-ebook
Type classification-ebook
 
Fsfinalbook single
Fsfinalbook singleFsfinalbook single
Fsfinalbook single
 
Typographers glossary
Typographers glossaryTypographers glossary
Typographers glossary
 
Two side
Two sideTwo side
Two side
 
Bạn có máu phát minh không ?
Bạn có máu phát minh không ?Bạn có máu phát minh không ?
Bạn có máu phát minh không ?
 
Giải pháp cho các vấn đề truyền thông
Giải pháp cho các vấn đề truyền thôngGiải pháp cho các vấn đề truyền thông
Giải pháp cho các vấn đề truyền thông
 
10 cách đơn giản chữa đau lưng
10 cách đơn giản chữa đau lưng10 cách đơn giản chữa đau lưng
10 cách đơn giản chữa đau lưng
 
ý Chí thường có giới hạn
ý Chí thường có giới hạný Chí thường có giới hạn
ý Chí thường có giới hạn
 
Vé liveshow hà nội còn mãi 1 tình yêu
Vé liveshow hà nội còn mãi 1 tình yêuVé liveshow hà nội còn mãi 1 tình yêu
Vé liveshow hà nội còn mãi 1 tình yêu
 
6 bi quyet thanh cong cua steven job
6 bi quyet thanh cong cua steven job6 bi quyet thanh cong cua steven job
6 bi quyet thanh cong cua steven job
 
Tutoria mvc framework
Tutoria mvc frameworkTutoria mvc framework
Tutoria mvc framework
 

Recently uploaded

MASONRY -Building Technology and Construction
MASONRY -Building Technology and ConstructionMASONRY -Building Technology and Construction
MASONRY -Building Technology and Constructionmbermudez3
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Douxkojalkojal131
 
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiVIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...Amil baba
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CANestorGamez6
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...ankitnayak356677
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxjanettecruzeiro1
 
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightDelhi Call girls
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Narsimha murthy
 
A level Digipak development Presentation
A level Digipak development PresentationA level Digipak development Presentation
A level Digipak development Presentationamedia6
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 

Recently uploaded (20)

MASONRY -Building Technology and Construction
MASONRY -Building Technology and ConstructionMASONRY -Building Technology and Construction
MASONRY -Building Technology and Construction
 
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai DouxDubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
Dubai Call Girls Pro Domain O525547819 Call Girls Dubai Doux
 
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiVIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
 
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
 
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptx
 
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
 
A level Digipak development Presentation
A level Digipak development PresentationA level Digipak development Presentation
A level Digipak development Presentation
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 

Better css font stacks unit verse

  • 1. Better CSS Font Stacks | Unit Verse Unit Verse Currently viewing Better CSS Font Stacks (permalink). Go to main page. Other posts in "design" Better CSS Font Stacks by Nathan Ford 4 years ago 440 Comments One aspect of designing for the web that almost immediately offends designers is the lack of fonts that are considered safe to use. While it is true that there are only a handful of web safe fonts, the ones we do have at our disposal can be quite powerful and diversely useful. On top of that, CSS gives us a nice little thing called a font Other posts in "feature" stack. FONT STACKS GIVE YOU FREEDOM. You want to use Gill Sans? Go right ahead. Nothing should stop you. Font stacks are prioritized lists of fonts, defined in the CSS font-family attribute, that the browser will cycle through until it finds a font that is installed on the user’s system. This means that you can use Gill Sans, and if your users don’t have it, you can give them an adequate substitute that will not diminish their experience. As Mr. Richard Rutter has already illustrated, there are quite an array of typefaces that may be sitting on your user’s machine ready to serve your design needs. Unfortunately, common web practices and/or technologies are not fully utilizing Other posts in "typography" this functionality. There seems to be a lack of consideration for the process of creating these stacks. For example, Dreamweaver’s defaults look like so: Arial, Helvetica, sans-serif Courier New, Courier, monospace Times New Roman, Times, serif Georgia, Times New Roman, Times, serif Verdana, Arial, Helvetica, sans-serif Geneva, Arial, Helvetica, sans-serif As you can see, there are not a whole lot of options, and the substitutes are often not appropriate. This is an example of how lax typographic standards on the web are leading to poor design decision making. I am not going to speculate, here, as to whose fault it is that typography on the web leaves much to be desired… there are probably as many culprits as there are offenses. I will say, though, that font stack are ultimately design factors, and should be scrutinized as such. ALL IN THE FAMILY When creating a stack, first consider the context of the text. Is it going to be a headline, sub-head, or body copy? This can determine the appropriate order of a stack, considering certain fonts work well for setting blocks of copy, while others work better at larger sizes. For example, Helvetica’s nuances work well on screen, when the text is large enough, while Helvetica Neue’s slightly wider letter forms read better at smaller sizes on screen. Arial reads slightly better than Helvetica at smaller sizes on the screen, as well. Therefore, your font stack for Helvetica may need to be different depending on whether it is used for body copy or a page title. Once context is considered, there are few more things to consider when building a stack. First, select your ideal candidate (more on that later). From there, the path of your choices may fork depending on the context. http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/[4/23/2013 6:59:06 PM] The easiest way for your clients to edit content. Unify: Browse. Edit. Done.
  • 2. Better CSS Font Stacks | Unit Verse TITLES [ GREATER THAN 12PX ]: font-family: Ideal, Alternative, Common, Generic; 1. Ideal – Your selection need not be bound by what is considered universally “web safe”. There are many more fonts that have a fairly high market penetration that you can choose from. Just don’t pick anything too obscure, or you will be the only one seeing it. 2. Alternative – When selecting headline and title fonts, remember that the nuances will be more noticeable, and therefore you need to select an alternative that is closer in spirit than size or relative value. To find a spiritual cousin, you may want to look within the same type classification, or look for something created by the same type designer. Mainly, look for similarities in the letter forms. 3. Common – At this point, you just need something similar that is not going to break your layout. 4. Generic – Cap it off with the generic classification, for those zealots that don’t believe in installing fonts. PARAGRAPHS [ LESS THAN OR EQUAL TO 12PX ]: font-family: Ideal, Fit, Common, Generic; 1. Ideal – Even if you intend this copy to match the titles, you may want to consider the readability of the typeface over the span of a few paragraphs. For example: Helvetica Neue and Arial are better suited to be read small and on screen than Helvetica. 2. Fit – Find something that is well represented, cross-platform that will not wreck your layout. For example: There is about 2 pts difference between the width of Times New Roman and Georgia. Multiply that by the number of characters in your copy blocks, and you could spell disaster for your otherwise-nicely-considered design. 3. Common – Something similar in flavor and well-represented. 4. Generic – Again, finish with the generic classification. Keep in mind that if your ideal font is only well represented on Macs, for example, you may want use an alternative that is more prevalent on Windows machines. For more information on the prevalence of certain typeface on certain operating systems, take a look at codestyle.org/css/font-family/. STACK YOUR DECK Now, using these guidelines, and building on the experience of much more knowledgeable type gurus, I have compiled a list of font stacks that will both open up more font possibilities for web designers, and hopefully offer more appropriate substitutes: p – balanced for paragraphs or body copy t – balanced for headlines or titles Arial, “Helvetica Neue”, Helvetica, sans-serif - p, t Baskerville, “Times New Roman”, Times, serif - p Baskerville, Times, “Times New Roman”, serif - t Cambria, Georgia, Times, “Times New Roman”, serif - p, t “Century Gothic”, “Apple Gothic”, sans-serif - p, t Consolas, “Lucida Console”, Monaco, monospace - p, t “Copperplate Light”, “Copperplate Gothic Light”, serif - p, t “Courier New”, Courier, monospace - p, t “Franklin Gothic Medium”, “Arial Narrow Bold”, Arial, sans-serif - p, t http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/[4/23/2013 6:59:06 PM]
  • 3. Better CSS Font Stacks | Unit Verse Futura, “Century Gothic”, AppleGothic, sans-serif - p, t Garamond, “Hoefler Text”, Times New Roman, Times, serif - p Garamond, “Hoefler Text”, Palatino, “Palatino Linotype”, serif - t Geneva, “Lucida Sans”, “Lucida Grande”, “Lucida Sans Unicode”, Verdana, sans-serif - p Geneva, Verdana, “Lucida Sans”, “Lucida Grande”, “Lucida Sans Unicode”, sans-serif - t Georgia, Palatino,” Palatino Linotype”, Times, “Times New Roman”, serif - p Georgia, Times, “Times New Roman”, serif - t “Gill Sans”, Calibri, “Trebuchet MS”, sans-serif - p “Gill Sans”, “Trebuchet MS”, Calibri, sans-serif - t “Helvetica Neue”, Arial, Helvetica, sans-serif - p Helvetica, “Helvetica Neue”, Arial, sans-serif - t Impact, Haettenschweiler, “Arial Narrow Bold”, sans-serif - p, t “Lucida Sans”, “Lucida Grande”, “Lucida Sans Unicode”, sans-serif - p, t Palatino, “Palatino Linotype”, Georgia, Times, “Times New Roman”, serif - p Palatino, “Palatino Linotype”, “Hoefler Text”, Times, “Times New Roman”, serif - t Tahoma, Geneva, Verdana - p Tahoma, Verdana, Geneva - t Times, “Times New Roman”, Georgia, serif - p, t “Trebuchet MS”, “Lucida Sans Unicode”, “Lucida Grande”,” Lucida Sans”, Arial, sans-serif - p “Trebuchet MS”, Tahoma, Arial, sans-serif - t Verdana, Geneva, Tahoma, sans-serif - p Verdana, Tahoma, Geneva, sans-serif - t I did deliberately leave out some fonts, *cough* Comic Sans *cough*, because I do not particularly see the use in them, and I don’t believe that these examples will solve every typographic purpose, but hopefully it’s a start. Feel free to apply the above rules and create some stacks of your own. If you’re interested in a more comprehensive comparison, download the pdf [13.1 mb]. In it, you will find examples of both titles and copy, set in the different font stacks. Now, font stacks help us open up a few more typographic options to create a more engaging online communication, but how do we choose which specific face to use? And which of these web safe fonts will work as a good compliment? More on that in my next post. *** This article is available in Belorussian provided by http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/[4/23/2013 6:59:06 PM]