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..
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
Post a Comment