DivitoDesign

Everything for the Web Professional

The Paragraph & Typography Guide

Information about the Author:

Name:

URL: http://twitter.com/divitodesign

Description enjoy design, write articles, like typography, love football, keep chilling.

More on: Typography

22 Comments

  1. I like posts that go through basic typography methodically. There are a couple of points I’d add, though:

    font-size: 1.3em; doesn’t mean much if you don’t know the document’s base font size. For example, on my blog the body font-size has been set to 100%, which means that font-size: 1.3em; would work out at 20.8 pixels (i.e. very big indeed!)

    You’ve missed out margins (perhaps group this with tracking, word-spacing and leading under ‘white space’.). I tend to set margin-bottom to the same as the paragraph’s line-height, so you get a line break between paragraphs.

    I personally wouldn’t mess with letter and word spacing in paragraphs (although I’ve seen it done quite successfully recently). They’re a matter of such convention that a change can really jar.

    What about measure?

    I used to justify the text on my blog: browsers justify really badly, so I definitely wouldn’t recommend it: you get big, wide rivers running through your text.

    Oh, and big font sizes are great for everybody!

    Thanks for an interesting read,

    Leon

  2. Oh, and you need to change the link colour in the comments section!

    —Leon

  3. @Leon – What a great comment, thank you.

    You are actually very right, I’ve completely forgotten about the white-space part! I already thought I was missing a point – I will add that to the article right away.

    I didn’t know justify wasn’t properly supported!

    I have changed the white-space and the links in the comment section!

  4. Nathan says:

    Justified text is also harder to read. A ragged right edge to your text makes it much easier to follow from line to line. Not to mention the point Leon made about the butchering it does to word spacing. Even in print I’d avoid full left and right justification, unless you’re willing to spend hours manually setting every bit of text to eliminate those rivers.

  5. [...] Go to the author’s original blog: The Paragraph & Typography Guide [...]

  6. I would like to add my humble opinion on using font-family. I like to make my first family declaration the one I would use in a “perfect world”. For instance, I love using Minion Web Pro with Scala Sans, but I know a minority of users actually possess these fonts. So I write my font-family declarations to degrade down in order from most desirable to generic:

    body {
    font-family: “Minion Web Pro”, Georgia, “Times New Roman”, serif;
    }

    h1 {
    font-family: “Scala Sans”, Verdana, Helvetica, sans-serif;
    }

    Often, I’ll choose a font that is included with the Adobe suite for the first declaration. At least then a bit more people can see the site in a more “optimal” setting. Having said that, I notice all too often people abusing this technique and using fonts that have no business being displayed on the screen (notice I use Minion Web Pro and not just Minion Pro). It’s always a good idea to know what medium the font you are using was originally designed for.

  7. @Nathan – Thanks for your insight. The point you made about the part that normal text-align is easier to follow because not every line has the same length.

    About the other point you guys made, I didn’t have that problem just yet. I will take a closer look soon!

    @Bob – You can do it the way you prefer. I usually don’t experiment with web-fonts, because too many people (in my opinion) will benefit from it.

    Thanks for adding your thoughts!

  8. [...] brief look at the basic CSS rules that govern paragraphs – line-height, font-size, font-family, color, text-align, word-spacing, text-indent and [...]

  9. [...] Vervoort> en divitodesign, nos da una serie de consejos básicos a la hora de construir y diseñar los párrafos. Son muy [...]

  10. Sina says:

    As you explain in a good article, designing is one of the most important things for who want to be successful in Internet Marketing.

    And of course paragraph is one of them.

    Thanks.

  11. Nice article I agree with you that when it comes to styling text, we do sometimes get caught up in the headings and forget about the paragraph itself.

    Good explanation and examples of what the difference CSS properties are relating to paragraphs as well.

  12. Your tips just helped me edit a theme that has been a bear for me to work with. I’m not even proficient in html or css, but your few tips here helped me overcome the small typestyle included on a theme I was trying to edit. Thank you, thank you, thank you.

  13. dau says:

    Text-indent for :
    why not p + p {text-indent:whatever_you_like em;}
    This way we’ll always filter for subsequent paragraphs and do not need to define two rules.
    Or am I wrong?
    I’ve done this for years – upps, since it is partially supported by browsers
    Thanks for commenting!

  14. @PublicRecordsGuy – Thanks for your comment, great this article helped you!

    @Dau – What a smart idea, it didn’t cross my mind to do it this way! Your way works fine, so does my way, it’s up to the readers to decide. Yours is smarter though. :)

  15. good points, tested a lot with it and therefore: thank you!

  16. [...] thanks to Stefan Vervoort and his article on paragraphs, which gave me the idea for this [...]

  17. [...] an article I have written some time back I have shown you how you can use CSS to improve your paragraph’s typography without much [...]

  18. [...] The important part of your paragraph is that they shouldn’t bore your visitors. If people don’t like how the letters and words “flows” or “feels” they might skip that paragraph, or in the worst case move on and click the exit button. I suggest you read some tips for styling the paragraph. [...]

  19. Cool article, typography is so overlooked by web designers, but its so important. CSS lets you do so many cool things with it, especially with the :pseudo elements, for example :first-letter

Please Respond and Give your Opinion

We use Gravatar to handle our avatars. Get one there!