Solved

How to determine Line-Height

Posted on 2015-01-02
8
186 Views
Last Modified: 2015-01-02
Hello,

I'm new to typography and I have been reading and learning as I go the best I can. However, I'm stumped on how to determine the proper line-height to use.

I guess what I'm looking for is the mathematical formula that is used to determine the proper line-height based on the font-size and or line-width.

I have seen NUMBEROUS typographic scale websites were you plug in the font-size and it gives you the correct line-height to use. I'm not looking for those sites so PLEASE DON'T POST THEM, I have already seen them.

I just want to learn what mathematical formula is used to determine proper Line-Height based on the Font-Size used and don't want to rely on a website to give me that information (that is not how I can learn).

I plan on building a responsive website and I need to know line-height for body, p, h1-h6 tags. I know that at different breakpoints I may need to adjust the font-size and line-height and that is what I'm looking for. The mathematical formula to use to determine the proper font-size and line-height.
0
Comment
Question by:asp_net2
  • 5
  • 3
8 Comments
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 500 total points
ID: 40528442
Typography is an art. There is no hard and fast formula or correct measure. That's why we have designers.

Here's a page that talks about the Golden Ratio, approx: 1.6, so if you have 14pt text, your line height should be at least 14*1.6 = 22.4pt, but that is just a rough guideline for body text. Often Headlines are much tighter.

http://www.pearsonified.com/2011/12/golden-ratio-typography.php
0
 
LVL 4

Author Comment

by:asp_net2
ID: 40528545
So if I'm going to design a site then how can I determine the line-height for all other elements (h1-h6).
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40528551
you have to use your judgment or hire a designer. like i said, it's an art..

you could try a few different combinations and see what you like best
0
 
LVL 4

Author Comment

by:asp_net2
ID: 40528578
Ok, so there is no true mathematical formula to generate that then?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 4

Author Comment

by:asp_net2
ID: 40528580
I'm looking for a better solution than to hire a designer Kyle.
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40528585
if you don't want to hire a designer, then you have to take on the role of designer.

no, there is no mathematical formula. i'm sorry that's not what you want to hear, but that is the answer to your question.  

in general, if you're not an artist, the Golden Ratio is a solid rule of thumb for assigning proportions..
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40528590
You should also consider things like baseline-grid, optimal container width for a given font-size, etc.., etc... and much much more.

Leading (line-height in the world of web design), should also be determined by the x-height of the given typeface (font). Not all typefaces are created equal, so you can have one face with a large x-height which probably needs more leading than a different face of the same point size.

It's an Art :)
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40528603
just one more thing.. you don't actually have to specify line-height at all. If you don't feel comfortable making design decisions, you can let the browser take of it. It won't be as good as a designer wold have done, but it won't be potentially as awful as a non designer's work.

anyway, none of this is intended to be a criticism, just trying to be helpful.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Read about why website design really matters in today's demanding market.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now