asp.net - make text size change dynamically in table on aspx site -


i´m making simple website display information xml file created information readen server. problem if user inserts information onto server wich long site alters. wondering if use jquery , css make text in cells smaller if exceeds number of characters.

i not make text smaller. depending on amount, make small no 1 read it.

why not wrap content in div, set div's height , width match whatever want table cell be. set div overflow-y:scroll;.

that way text size won't change , content usable no matter size.

an example: http://jsfiddle.net/jasongennaro/zpzxd/


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -