This is a demo website: http://reddledemo.wordpress.com (No, this is not a WordPress-related question.)
What I noticed is that the page’s content appears in ‘sans-serif’ font-family in all modern browsers (essentially the latest versions of Chrome, FireFox, Safari, Opera) except Internet Explorer (tested on IE9).
The ‘body’ tag has a defined font, which should automatically be applied to the menus and ‘p’ paragraphs as they inherit the style. But in the given example, this is not happening.
Looking at the CSS, I see no obvious issues, unless I’m completely missing something. So, what could it be? (This is the first time I’ve encountered such a bug.)
Okay this may sound stupid but the thing is, Internet Explorer 9, which happens to be the only browser to support
remakaroot emfont-size value in its family (older versions of IE), does not support thefontCSS property when usingrem.Hence,
Should be presented as this (below) in your stylesheet:
It goes without saying that
remis supported only by a few modern browsers, and IE 9 is one among them (except for this bug).PROOF OF CONCEPT (w.r.t IE9):
This fiddle works fine & I’m not using
rem: http://jsfiddle.net/SBrda/3/The same fiddle does not work fine when
remis uses instead ofem: http://jsfiddle.net/SBrda/4/And when I break the
fontproperty intofont-sizeandfont-familyproperties, the above fiddle seems to render fine whilst usingrem: http://jsfiddle.net/SBrda/5/hope this will help 😀