Search code examples
htmlcssinternet-explorerinternet-explorer-9

What is the default font-size in IE9?


I looked at this website to see the default styling that IE 9 uses. The body selector looks like this

body {
  display: block;
  margin: 8px;
  zoom: 1;
} 

I would I have guessed that a font-size should have been specified here but it isn't. So what is the default font-size that IE 9 is using?


Solution

  • font-size is being set on every element in that stylesheet in em

    eg

    h3 {
        display: block;
        font-size: 1.17em;
        font-weight: bold;
        margin: 1em 0;
        page-break-after: avoid;
    }
    
    h4 {
        display: block;
        font-size: 1em;
        font-weight: bold;
        margin: 1.33em 0;
        page-break-after: avoid;
    }