Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Issue trying to use EMs throughout site…

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #162202
    deeve007
    Participant

    Hey folks,

    Am trying my best to specify all sizes possible with EMs and %, but am finding it hard when it comes to paddings and margins. If the element I’m trying to target is a child of some other element, or even a child of a child of another element, then that can affect what the actual result is using EM or %, so am finding it much simpler to revert to PX in these cases, which is not ideal obviously since I then have a mix of measurement units being used.

    Wondering how folk approach this?

    Cheers.

    #162204
    theacefes
    Participant

    I actually do the same thing.

    #162206
    Paulie_D
    Member

    See this thread of a couple of minutes ago: https://css-tricks.com/forums/topic/why-ems-article/

    Personally, I’ve moved over to rems as far as possible because I try NOT to support below IE9

    http://caniuse.com/rem

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.