PDA

View Full Version : expand size of font to fill frame? how?



noobster
03-07-2007, 04:02 PM
Hi,

don't know if i should have posted this here or in javascript forum so feel free to move it :)

i explain what i want to do:

i have a text coming from a database, sometimes this text is 2 chars or somtimes 6 chars.
this text comes in an iframe with background and fixed size.

what i would like is the text to resize automaticaly to FILL the frame to keep visual impact whatever the content, so the font size would shrink if the text is long and grow if the text is short.

TEXTE LONG
txt

something like this but dynamic of course


thanks for any help.