Hello and thank you for reading my post. I am rather new to all this so I'm sorry if its a bit sloppy.
I have a table built and I am trying to use a hover action to zoom in on a cell without moving the rest of the cells. I would also like it to zoom centered, it seems to zoom from the upper left corner as its axis. Below is an edited portion of my table. Currently when i hover, it zooms and moves everything to the right. I would like it to zoom and leave everything else in it's position. Please let me know if you need more information. BTW, this is all for an HTA and it seems several things don't work within an HTA. Thanks!
CSS
.button1 {
color: red;
width:245px;
height:25px;
font-family: Tahoma;
font-size: 12px;
text-align:center;
text-decoration: none;
background-color: #E2E2E2;
border-top: 2px solid #F1F1F1;
border-right: 2px solid #969696;
border-bottom: 2px solid #969696;
border-left: 2px solid #F1F1F1;
}
.button1:hover {
color: red;
width:245px;
height:25px;
font-family: Tahoma;
font-size: 14px;
text-align:center;
text-decoration: none;
background-color: #E2E2E2;
border-top: 2px solid #F1F1F1;
border-right: 2px solid #969696;
border-bottom: 2px solid #969696;
border-left: 2px solid #F1F1F1;
zoom:150%;
}
.button2 {
width:245px;
height:25px;
font-family: Tahoma;
font-size: 12px;
text-align:center;
text-decoration: none;
background-color: #E2E2E2;
border-top: 2px solid #F1F1F1;
border-right: 2px solid #969696;
border-bottom: 2px solid #969696;
border-left: 2px solid #F1F1F1;
}
.button2:hover {
display: table-cell;
width:245px;
height:25px !important;
font-family: Tahoma;
font-size: 14px;
text-align:center;
text-decoration: none;
background-color: #E2E2E2;
border-top: 2px solid #F1F1F1;
border-right: 2px solid #969696;
border-bottom: 2px solid #969696;
border-left: 2px solid #F1F1F1;
zoom:150%;
}
HTML
<table class="table">
<tr width="25%" >
<td width="25%" valign="top">
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button1" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
<a class="button2" href="#"onclick="Application"><span>Application</span></a>
</td>
</tr>
</table>