title: JavaScript critical error at line 5, column 9 in (unknown source location)
body: <p>I am using visual studio 2012</p>
  
  <p>I have this simple html page, <strong>not asp.net page</strong>:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;title&gt;Test Float&lt;/title&gt;
      &lt;link rel="stylesheet" href="Styles/style.css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="header"&gt;&lt;/div&gt;
      &lt;div class="slideBar"&gt;&lt;/div&gt;
      &lt;div class="content"&gt;&lt;/div&gt;
      &lt;div class="footer"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I run it on google chrome. it works good.</p>
  
  <p>when I debug it on internet explorer. I got this error:</p>
  
  <p><img src="https://i.stack.imgur.com/or65M.png" alt="enter image description here"></p>
  
  <h3>Edit</h3>
  
  <p>For those who think that the sytle sheet is the problem. here is my style sheet</p>
  
  <pre><code>html, body {
  margin:0px;
  height:100%;
  }
  .header {
      width:100%;
      height:20%;
      background-color:red;
  }
  .footer {
      width:100%;
      height:20%;
      background-color:green;
  }
  .slideBar {
      width:20%;
      height:60%;
      float:right;
      background-color:blue;
  }
  .content {
      width:80%;
      height:60%;
      background-color:yellow;
  }
  </code></pre>
  
  <p>It is working very good on google chrome and mozilla. the code is very very simple. just that IE11 is not</p>
  
  <h3>Edit2</h3>
  
  <p>After I added my html page link to the compatibility mode. I got this exception:</p>
  
  <p><img src="https://i.stack.imgur.com/RpKFV.png" alt="enter image description here"></p>