title: CSS works in IE11 but not in IE8
body: <p>I have CSS codes which is good at IE11 but seemingly not good in IE8. I already tried using:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" /&gt;
  </code></pre>
  
  <p>but it didn't work fine. Margins, borders and the ribbon class is not working.<br>
  To add some info, here is the CSS:</p>
  
  <pre><code>body{
    background-image:url(images/bg4.jpg);
    background-repeat:no-repeat;
    font-family: 'Montserrat', Arial;
    font-size: 1em;
    background-size:100%;
  }
  .all{
      right: 100px;
      bottom: 20px;
      position: absolute;
      }
  h2{
    text-align: center;
    color: #F1F2F4;
    text-shadow: 0 1px 0 #000;
  }
  a{
    text-decoration: none; color: #EC5C93; 
  }
  .ribbon{
    background: rgba(200,200,200,.5);
    width: 50px;
    height: 70px;
    margin: 0 auto;
    position: relative;
    top: 19px;
    border: 1px solid rgba(255,255,255,.3);
    border-top: 2px solid rgba(255,255,255,.5);
    border-bottom: 0;  
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 3px rgba(0,0,0,.7); 
  }
  .ribbon:before{
    content:"";
    display: block;
    width: 15px;
    height: 15px;
    background: #4E535B;
    border: 4px solid #cfd0d1;
    margin: 18px auto;
    box-shadow: inset 0 0 5px #000, 0 0 2px #000, 0 1px 1px 1px #A7A8AB;
    border-radius: 100%;
  }
  .login{
    background: #F1F2F4;
    border-bottom: 2px solid #C5C5C8;
    border-radius: 5px;
    text-align: center;
    color: #36383C;
    text-shadow: 0 1px 0 #FFF;
    max-width: 400px;
    padding: 10px 40px 5px 40px;
    box-shadow: 0 0 5px #000;
  }
  .login:before{
    content:"";
    display: block;
    width: 70px;
    height: 4px;
    background: #4E535B;
    border-radius: 5px;
    border-bottom: 1px solid #FFFFFF;
    border-top: 2px solid #CBCBCD;
    margin: 0 auto;
  }
  .font{
    font-size: 1.4em;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #191970;
    font-weight: bold;
  }
  
  p{
    font-family:'Helvetica Neue';
    font-weight: 300;
    color: #7B808A;
    margin-top: 0;
    margin-bottom: 30px;
  }
  
  input{  
    height: 30px;
    background: transparent;
    border: 2px solid gray;
    box-sizing: border-box;
    color: #71747A;
    text-shadow: 0 1px 0 #FFF;
    border-radius: 5px;
  }
  input:focus{
    outline: none;
  }
  
  button{
    margin-top: 20px;
    display: block;
    width: 30%;
    line-height: 1.1em;
    background: #0066FF;
    border-radius: 5px;
    border:0;
    border-top: 1px solid #0066FF;
    box-shadow: 0 0 0 1px #0066FF, 0 2px 2px #0066FF;
    color: #FFFFFF;
    font-size: 1em;
    text-shadow: 0 1px 2px #21756A;
    margin-left:155px;
  }
  </code></pre>
  
  <p>While the HTML is here:</p>
  
  <p>
  </p>
  
  <pre><code>&lt;?php
  session_start();
  ?&gt;
  
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Optis Appraisal System&lt;/title&gt;
            &lt;link href='login.css' rel='stylesheet' type='text/css'&gt;
      &lt;/head&gt;
  
      &lt;script src="Plugins/placeholders.jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;body&gt;   
      &lt;div class="all"&gt;   
        &lt;div class="ribbon"&gt;&lt;/div&gt;
        &lt;div class="login"&gt;       
             &lt;br/&gt;&lt;img src="images/optis3.jpg"/&gt; &lt;div class="font"&gt;Appraisal System&lt;/div&gt;
            &lt;p&gt;Please login to start&lt;/p&gt;    
            &lt;form method="post" action="login.php"&gt;
                  &lt;table width=100%&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Username&lt;/td&gt;
                          &lt;td&gt;&lt;input type="text" name="login"&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Password&lt;/td&gt;
                          &lt;td&gt;&lt;input type="password" name="password"&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;center&gt;
                  &lt;button name=commit&gt;Login&lt;/button&gt;
              &lt;/center&gt;
            &lt;/form&gt;
        &lt;/div&gt;
  
          &lt;footer&gt;
              &lt;center&gt; 
                  &lt;font size="2" color="black"&gt;&lt;br/&gt;
                  Developed by: &lt;br/&gt;
                  anjomarc_topacio | mark.adriane | nica.dizon &lt;br&gt;
                  Copyright 2014 &amp;#169 Management Information System
                  &lt;/font&gt;
              &lt;/center&gt;
          &lt;/footer&gt;
      &lt;/div&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Do you have any idea on how to solve this? I badly need your help. Thanks!</p>