Loading ...
Sorry, an error occurred while loading the content.

48284Converting from pixels to em

Expand Messages
  • Brendan Vogt
    May 3, 2009
    • 0 Attachment

      I am trying to convert my 10px for a margin bottom to em, but the docs say that I must include a * for IE.  Am I doing this correct?

      margin-bottom:.77em;  // Firefox
      *margin-bottom:.75em;  // IE

      To how many decimals must it be rounded off?