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.

enter image description here

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

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -