add ResizeTable function to calculate td's width and height after MergeCellSelection and fillContentToTD
executed, to set new width and height for td and the div in it. (because after merged and fillContentToTD,
the div width and height will change to 100%, which make overflow:hidden invalid)

when calculate td width and height, considered the border width and minus them.