javascript - I can not get the real value of the width of the column HTML -
i have particular problem in html mine. theoretically have simple table , . size of columns leave rendered automatically in css , using white-space: nowrap;. problem when i'll on javascript size of each column thead. i've tried several ways not consistent rendered. example, in chrome shows debug 65px when value different.

i using javascript:
getboundingclientrect().width or
outerwidth(true) i've tried returns different value. 49px showing. not know else do, please. thanks
note jquery width() take account padding or border may have on element
Comments
Post a Comment