Use of em or px sizing for fonts, margins and padding

  • Unknown's avatar

    Hello
    I currently use a number of headings in posts that are defined using both em (for margins) and px (for font size and padding. Here’s an example:
    [Text of heading]
    Is it better to use em for all measurements, px for all, or a mixture as I do at the moment? I use 2017 Theme, with normal sized Open Sans font as the default font size and style.
    Any help would be very welcome.
    Rob

    WP.com: Yes
    Jetpack: No
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello I have now decided to use ‘rem’ as the unit, I think this works well. So the query is now closed. Thank you.

  • The topic ‘Use of em or px sizing for fonts, margins and padding’ is closed to new replies.