More text=smaller text.

admin

Administrator
Staff member
I want to fit some text into a cell, however this content is dynamic, and if the amount of text increases, I would like the size to decrease so it still fits without streatching the Cell. Any Ideas?Use a server-side language such as PHP, count the number of characters in the text, and write a switch/case or mathematical algorithm to change the font size for the containing element based on number of characters.
 
Back
Top