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' -

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

Google sheets equipment borrowing system -