Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 12th, 2012  |  syntax: None  |  size: 0.42 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Why would height specified as 1.0em be slightly less than font-size instead of equal?
  2. font-size: 18px;
  3. height: 17.600000381469727px;
  4.     .a, .h, .r - 1.0em
  5. left: 52.80000305175781px;
  6. line-height: 17.600000381469727px;
  7.     .a, .h, .r - 1.0em
  8.        
  9. font-size: 18px;
  10. height: 18px;
  11.     .stone, .iw-capture - 1em
  12. line-height: 18px;
  13.     .stone, .mark, .iw-capture - 1.0em
  14.        
  15. 1 ÷ parent font size (px) × required pixels = em equivalent