javascript - how to find text cut off while resizing td element -


i have resize option in table. when resize, cuts off text. how find size @ text begins cut off..

enter image description here

when resize header happensenter image description here

the easiest way multiply length of string point size times 1.25. should give how wide areas should title , not text goes slots.

so strlen(text)*fontpointsize*1.25

also - yo yo has said - need specify width of field. so:

<td width='123px'>title</td> 

Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -