fix bugs in ie7

get border-width/height return NaN