How to use em perfectly without getting nested issue?
How to get perfect needed size for every needed element?
If i use #Wrapper (font-size:62.5%) because it’s easy to calculate font sizes.
How to deal with nested issues of font-size and line-height?
puts on flameshield
I’ve been using the 62.5% + em method for 3 years but I just made the switch back to pixels.
Why?
With that said:
ptfor printing because it’s more reliableIf you still want to use ems that’s fine. The best strategy, as counter-intuitive as it sounds is to make more specific rules so the em font size doesn’t get inherited by everything.
Instead of:
Do:
Of course there exist utilities to do the pixel calculation for you ( an entire stylesheet or web page ) in ems but to me that’s just a complete waste of time.