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