Skip to content Skip to sidebar Skip to footer

Font Size In Internet Explorer Is Different

I have the following css html { font-size: 62.5%; // 100% is 16px, this value will 10px } when I am checking the text on the page in every other browser, it gives me 10px. But I

Solution 1:

According to http://msdn.microsoft.com/en-us/library/ms530759(v=vs.85).aspx the floating point value is accepted.

If this behavior is still existing in latest IE versions, try using calc().

Solution found was: font-size: calc(10em / 16)

There is no downside to calc() except that older browsers might not support it very well.

Post a Comment for "Font Size In Internet Explorer Is Different"