title: If position an element fixed relative to parent is not working IE?
body: <p>If position an element fixed relative to parent is not working Internet Explorer?
  <a href="https://i.stack.imgur.com/cD1w8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cD1w8.png" alt="enter image description here"></a>
  I find that when I position an element fixed, it doesn't matter if the parent is positioned relative or not. It will position fixed, relative to the window in Internet Explorer.</p>
  
  <p><strong>The Code:</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>// Content DIV
  .row {
    width: 1200px;
    margin: 0 auto;
    vertical-align: top;
    text-align: center;
    font-size: 0;
    position: relative;
  }
  // Call Action DIv
  .CallActionR {
    position: relative;
  }
  .CallActionA {
    position: absolute;
    right: 0;
  }
  .CallActionContainer {
    position: fixed;
    z-index: 9999;
    opacity: 1;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transform: translateZ(0px);
    transition: all 2s linear;
    right: 0;
  }
  .CallActionDisplay {
    margin: 0px;
    width: 200px;
    height: 58px;
    border: 0px none rgb(0, 0, 0);
    background-color: rgba(59, 110, 142, 0.74902);
    background-size: 100% 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: rgb(241, 241, 241);
    text-decoration: none;
    word-wrap: break-word;
    white-space: normal;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 9999;
    padding: 18px 15px;
    font-weight: 600;
    position: fixed;
    right: 0px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="row"&gt;
    &lt;div class="CallActionR"&gt;
      &lt;div class="CallActionA"&gt;
        &lt;div class="CallActionContainer"&gt;
          &lt;div class="CallAction"&gt;Call TO Action&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Position fixed aligned properly on other browsers like Google Chrome and Firefox. But coming to IE 11 is not working properly. The position fixed <code>&lt;div&gt;</code> not aligned based on the relative window.</p>