title: How to stack an overlay over html5 video
body: <p>I have attempted the answers found here but still cannot fathom how to overlay a images and text over html5 video. Whatever I try the elements simply stack above or below one another. The code is as follows:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
    &lt;div id="wrap_video"&gt;
      &lt;div id="video_box"&gt;
        &lt;div id="video_overlays"&gt;
           &lt;img src="img/overlay.png"&lt;/img&gt;
           &lt;a&gt; TEXT &lt;/a&gt;
        &lt;/div&gt;         
      &lt;div&gt;
       &lt;video id="player" src="mov/movie.mp4" type="video/mp4" autoplay="autoplay" loop&gt;"&gt;Your browser does not support this streaming content.&lt;/video&gt;
    &lt;/div&gt;   
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>html, body {
  margin: 0px;
  }
  #video_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 720px;
  }
  #video_overlays {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 720px;
    z-index: 100;
  }
  video#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 720px;
    z-index: 99;
  }
  #wrap_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 960px;
    height: 720px;
  }
  </code></pre>