px vs em revisited

Out of context: Reply #19

  • Started
  • Last post
  • 22 Responses
  • lukus_W20

    I agree - I think ems are worth sticking with.

    Also, if at any point you want to make your text larger or smaller, you can scale everything up or down by changing the reference size that an em is based upon. It's a system that is built for flexibility. Switching back to pixels takes this flexibility away.

    /* If you have problems remembering which em values are needed for particular text sizes, just add a crib sheet at the top of your CSS file as a comment. */

    Also .. compose according to a vertical rhythm: http://24ways.org/2006/compose-t…

    • The value of the flexibility depends on the nature and complexity of your layout.ETM
    • Opps, nevermind. I agree, I though for some reason you were also referencing ems in layout.ETM

View thread