I got it,just not use the calc function in the CSS '#mainTable td>div':
#mainTable td>div{
position: relative;
left:0px;
top:0px;
border:0;
width: 100% ;
height: 100%;
background-color: rgba(255, 255, 255, 0) !important;
overflow: visible;
}
#mainTable td>div>.borderControl{
position: relative;
left: -2px;
top: -2px ;
width: calc(100% + 4px);
height: calc(100% + 4px);
border:1px solid red;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
overflow: hidden;
}