WordPress.org

Ready to get started?Download WordPress

Forums

Font size - em or px (3 posts)

  1. cees-maas
    Member
    Posted 9 years ago #

    Hi,
    can I replace the code "em" by "px"?
    can someone out there explain where "em" stands for?
    thanks in advance,
    cees

  2. ceo
    Member
    Posted 9 years ago #

    Basically 1 em is the equivelant of the space of one "m" in the font you are using, so like 5em would be
    mmmmm

    And yes, you can substitute px instead if you prefer, though obviously they aren't really exactly the same.

  3. NuclearMoose
    Member
    Posted 9 years ago #

    Here's an article of interest on just this subject:
    http://www.bigbaer.com/css_tutorials/css_font_size.htm

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.