z-index of absolute positioned divs












0














I am trying to get a photo to expand when you hover over it. However I am having trouble getting it to expand on top of what is already there. Currently it expands under it.



My HTML and my css are:






.userCard {width:360px;height:180px;border:1px solid black;float:left;margin:10px;position:relative;font-size:12px;background-image: url('paper.jpg')}

div:first-child {
opacity: .99;
}

.zoom:hover {
transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
transform-origin: top left;
}

 <div class="userCard">
<table class="myTable" width="100%" cellspacing="0" height="100%">
<tr valign="top">
<td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
<div class="zoom" style="background-color:white;"> <h1>
PHOTO
</h1>
</div>
</td>
<td width="75%">
<b>A N Employee

<div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
<table border="1" cellspacing="0" width="100%" style="font-size:14px;">
<tr>
<td style="padding:3px;line-height:10px">AM</td>
<td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
<td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
<td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
<td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
<td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
</tr>
<tr>
<td style="padding:3px;line-height:10px">PM</td>
<td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
<td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
<td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
<td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
<td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
</tr>
</table>
</div>

</td>
</tr>
</table>
</div>






I found an article here where I picked up the tip about the first-child CSS but that hasn't done the trick.



https://philipwalton.com/articles/what-no-one-told-you-about-z-index/



I've made a fiddle here if anyone can help - thank you!



https://jsfiddle.net/d76xkyou/1/









share|improve this question





























    0














    I am trying to get a photo to expand when you hover over it. However I am having trouble getting it to expand on top of what is already there. Currently it expands under it.



    My HTML and my css are:






    .userCard {width:360px;height:180px;border:1px solid black;float:left;margin:10px;position:relative;font-size:12px;background-image: url('paper.jpg')}

    div:first-child {
    opacity: .99;
    }

    .zoom:hover {
    transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    transform-origin: top left;
    }

     <div class="userCard">
    <table class="myTable" width="100%" cellspacing="0" height="100%">
    <tr valign="top">
    <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
    <div class="zoom" style="background-color:white;"> <h1>
    PHOTO
    </h1>
    </div>
    </td>
    <td width="75%">
    <b>A N Employee

    <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
    <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
    <tr>
    <td style="padding:3px;line-height:10px">AM</td>
    <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
    <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
    <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
    <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
    <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
    </tr>
    <tr>
    <td style="padding:3px;line-height:10px">PM</td>
    <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
    <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
    <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
    <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
    <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
    </tr>
    </table>
    </div>

    </td>
    </tr>
    </table>
    </div>






    I found an article here where I picked up the tip about the first-child CSS but that hasn't done the trick.



    https://philipwalton.com/articles/what-no-one-told-you-about-z-index/



    I've made a fiddle here if anyone can help - thank you!



    https://jsfiddle.net/d76xkyou/1/









    share|improve this question



























      0












      0








      0







      I am trying to get a photo to expand when you hover over it. However I am having trouble getting it to expand on top of what is already there. Currently it expands under it.



      My HTML and my css are:






      .userCard {width:360px;height:180px;border:1px solid black;float:left;margin:10px;position:relative;font-size:12px;background-image: url('paper.jpg')}

      div:first-child {
      opacity: .99;
      }

      .zoom:hover {
      transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
      transform-origin: top left;
      }

       <div class="userCard">
      <table class="myTable" width="100%" cellspacing="0" height="100%">
      <tr valign="top">
      <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
      <div class="zoom" style="background-color:white;"> <h1>
      PHOTO
      </h1>
      </div>
      </td>
      <td width="75%">
      <b>A N Employee

      <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
      <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
      <tr>
      <td style="padding:3px;line-height:10px">AM</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
      </tr>
      <tr>
      <td style="padding:3px;line-height:10px">PM</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
      </tr>
      </table>
      </div>

      </td>
      </tr>
      </table>
      </div>






      I found an article here where I picked up the tip about the first-child CSS but that hasn't done the trick.



      https://philipwalton.com/articles/what-no-one-told-you-about-z-index/



      I've made a fiddle here if anyone can help - thank you!



      https://jsfiddle.net/d76xkyou/1/









      share|improve this question















      I am trying to get a photo to expand when you hover over it. However I am having trouble getting it to expand on top of what is already there. Currently it expands under it.



      My HTML and my css are:






      .userCard {width:360px;height:180px;border:1px solid black;float:left;margin:10px;position:relative;font-size:12px;background-image: url('paper.jpg')}

      div:first-child {
      opacity: .99;
      }

      .zoom:hover {
      transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
      transform-origin: top left;
      }

       <div class="userCard">
      <table class="myTable" width="100%" cellspacing="0" height="100%">
      <tr valign="top">
      <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
      <div class="zoom" style="background-color:white;"> <h1>
      PHOTO
      </h1>
      </div>
      </td>
      <td width="75%">
      <b>A N Employee

      <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
      <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
      <tr>
      <td style="padding:3px;line-height:10px">AM</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
      </tr>
      <tr>
      <td style="padding:3px;line-height:10px">PM</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
      </tr>
      </table>
      </div>

      </td>
      </tr>
      </table>
      </div>






      I found an article here where I picked up the tip about the first-child CSS but that hasn't done the trick.



      https://philipwalton.com/articles/what-no-one-told-you-about-z-index/



      I've made a fiddle here if anyone can help - thank you!



      https://jsfiddle.net/d76xkyou/1/





      .userCard {width:360px;height:180px;border:1px solid black;float:left;margin:10px;position:relative;font-size:12px;background-image: url('paper.jpg')}

      div:first-child {
      opacity: .99;
      }

      .zoom:hover {
      transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
      transform-origin: top left;
      }

       <div class="userCard">
      <table class="myTable" width="100%" cellspacing="0" height="100%">
      <tr valign="top">
      <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
      <div class="zoom" style="background-color:white;"> <h1>
      PHOTO
      </h1>
      </div>
      </td>
      <td width="75%">
      <b>A N Employee

      <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
      <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
      <tr>
      <td style="padding:3px;line-height:10px">AM</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
      </tr>
      <tr>
      <td style="padding:3px;line-height:10px">PM</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
      </tr>
      </table>
      </div>

      </td>
      </tr>
      </table>
      </div>






      .userCard {width:360px;height:180px;border:1px solid black;float:left;margin:10px;position:relative;font-size:12px;background-image: url('paper.jpg')}

      div:first-child {
      opacity: .99;
      }

      .zoom:hover {
      transform: scale(3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
      transform-origin: top left;
      }

       <div class="userCard">
      <table class="myTable" width="100%" cellspacing="0" height="100%">
      <tr valign="top">
      <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
      <div class="zoom" style="background-color:white;"> <h1>
      PHOTO
      </h1>
      </div>
      </td>
      <td width="75%">
      <b>A N Employee

      <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
      <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
      <tr>
      <td style="padding:3px;line-height:10px">AM</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
      <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
      </tr>
      <tr>
      <td style="padding:3px;line-height:10px">PM</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
      <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
      </tr>
      </table>
      </div>

      </td>
      </tr>
      </table>
      </div>







      html css z-index






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 at 11:57









      DaFois

      1,86241418




      1,86241418










      asked Nov 12 at 11:44









      Ed Mozley

      1641214




      1641214
























          2 Answers
          2






          active

          oldest

          votes


















          0














          You just need to add a position and a z-indexto the .zoom



          see below






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer





















          • simple as that - thank you!
            – Ed Mozley
            Nov 12 at 12:05










          • @EdMozley glad i could help. cheers ! :D
            – Mihai T
            Nov 12 at 12:06



















          0














          I managed it by simply adding a high enough z-index.






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer





















          • brilliant thank you all!
            – Ed Mozley
            Nov 12 at 12:05










          • this is not working ( at least in chrome ) without adding a position property
            – Mihai T
            Nov 12 at 12:06











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53261473%2fz-index-of-absolute-positioned-divs%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You just need to add a position and a z-indexto the .zoom



          see below






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer





















          • simple as that - thank you!
            – Ed Mozley
            Nov 12 at 12:05










          • @EdMozley glad i could help. cheers ! :D
            – Mihai T
            Nov 12 at 12:06
















          0














          You just need to add a position and a z-indexto the .zoom



          see below






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer





















          • simple as that - thank you!
            – Ed Mozley
            Nov 12 at 12:05










          • @EdMozley glad i could help. cheers ! :D
            – Mihai T
            Nov 12 at 12:06














          0












          0








          0






          You just need to add a position and a z-indexto the .zoom



          see below






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer












          You just need to add a position and a z-indexto the .zoom



          see below






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>





          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 9999;
          position: relative;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 12 at 11:47









          Mihai T

          10.7k1723




          10.7k1723












          • simple as that - thank you!
            – Ed Mozley
            Nov 12 at 12:05










          • @EdMozley glad i could help. cheers ! :D
            – Mihai T
            Nov 12 at 12:06


















          • simple as that - thank you!
            – Ed Mozley
            Nov 12 at 12:05










          • @EdMozley glad i could help. cheers ! :D
            – Mihai T
            Nov 12 at 12:06
















          simple as that - thank you!
          – Ed Mozley
          Nov 12 at 12:05




          simple as that - thank you!
          – Ed Mozley
          Nov 12 at 12:05












          @EdMozley glad i could help. cheers ! :D
          – Mihai T
          Nov 12 at 12:06




          @EdMozley glad i could help. cheers ! :D
          – Mihai T
          Nov 12 at 12:06













          0














          I managed it by simply adding a high enough z-index.






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer





















          • brilliant thank you all!
            – Ed Mozley
            Nov 12 at 12:05










          • this is not working ( at least in chrome ) without adding a position property
            – Mihai T
            Nov 12 at 12:06
















          0














          I managed it by simply adding a high enough z-index.






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer





















          • brilliant thank you all!
            – Ed Mozley
            Nov 12 at 12:05










          • this is not working ( at least in chrome ) without adding a position property
            – Mihai T
            Nov 12 at 12:06














          0












          0








          0






          I managed it by simply adding a high enough z-index.






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          share|improve this answer












          I managed it by simply adding a high enough z-index.






          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>








          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>





          .userCard {
          width: 360px;
          height: 180px;
          border: 1px solid black;
          float: left;
          margin: 10px;
          position: relative;
          font-size: 12px;
          background-image: url('paper.jpg')
          }

          div:first-child {
          opacity: .99;
          }

          .zoom:hover {
          transform: scale(3);
          /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
          transform-origin: top left;
          z-index: 5000;
          }

          <div class="userCard">

          <table class="myTable" width="100%" cellspacing="0" height="100%">
          <tr valign="top">
          <td width="25%" style="padding:0px;" bgcolor="#E6E6E6">
          <div class="zoom" style="background-color:white;">
          <h1>
          PHOTO
          </h1>
          </div>

          </td>
          <td width="75%">
          <b>A N Employee

          <div style="position:absolute;bottom:15;z-index:1000;right:15;font-family:arial;">
          <table border="1" cellspacing="0" width="100%" style="font-size:14px;">
          <tr>
          <td style="padding:3px;line-height:10px">AM</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >12/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >13/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >14/11</td>
          <td style="padding:3px;line-height:10px" bgcolor="" class="" >15/11</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray" class="" >16/11</td>
          <tr>
          <td style="padding:3px;line-height:10px">PM</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px" bgcolor="">&nbsp;</td>
          <td style="padding:3px;line-height:10px; background: repeating-linear-gradient(45deg, #c6cef4, #c6cef4 10px, #d7dbef 10px, #d7dbef 20px);" bgcolor="gray">&nbsp;</td>
          </tr>
          </table>
          </div>

          </td>
          </tr>
          </table>
          </div>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 12 at 11:52









          TimSch

          307115




          307115












          • brilliant thank you all!
            – Ed Mozley
            Nov 12 at 12:05










          • this is not working ( at least in chrome ) without adding a position property
            – Mihai T
            Nov 12 at 12:06


















          • brilliant thank you all!
            – Ed Mozley
            Nov 12 at 12:05










          • this is not working ( at least in chrome ) without adding a position property
            – Mihai T
            Nov 12 at 12:06
















          brilliant thank you all!
          – Ed Mozley
          Nov 12 at 12:05




          brilliant thank you all!
          – Ed Mozley
          Nov 12 at 12:05












          this is not working ( at least in chrome ) without adding a position property
          – Mihai T
          Nov 12 at 12:06




          this is not working ( at least in chrome ) without adding a position property
          – Mihai T
          Nov 12 at 12:06


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53261473%2fz-index-of-absolute-positioned-divs%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Xamarin.iOS Cant Deploy on Iphone

          Glorious Revolution

          Dulmage-Mendelsohn matrix decomposition in Python