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 2 years, 3 months ago.

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

    Carla the Moose

    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! :)




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


    Scroll down to the section on “flexible type”.

    Susan @ One Happy Studio I offer theme customizations 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.