When should I use "em" instead of "px" …

Community Forums Forums General Discussion When should I use "em" instead of "px" …

This topic is: not resolved

Tagged: , , , , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Susan 11 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42833

    WiggleChicken
    Participant
    Post count: 126

    This has always perplexed me. It seems using em to size fonts makes it more responsive, is that right? I’ve read some articles about this, but I still don’t understand.

    Sometimes I see themes using both em and px to size fonts and also elements. If I’m changing the size, I always just use what came with the theme. For example, when resizing the post title, I use px because that’s what my eleven40 theme uses.

    Using em for my widget titles, however, would let me size up just enough without having the title spill onto a second line. But the theme uses px. Is there any reason why I can’t go ahead and change the font to em?

    I hope that makes sense. Thanks! :)

    #57553

    Susan
    Moderator
    Post count: 7982

    Mary:

    I wasn’t sure if you were able to get an answer to your question, but have you read this article?

    http://www.studiopress.com/design/flexible-grid.htm

    Scroll down to the section on “flexible type”.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.