RSS feed

How to set font size on the basis of word count

Published by: Sangeeta (1/31/2009 1:49:42 AM)

JAN 31 2009

I have a fieldset in which I am showing some messages. But these messages are different for different users, thus not fixed in size and length.

e.g. Some messages contain only 10 to 12 words while some messages are quite longer than the others.

My requirement is to set the font size according to the length of the message. If the message is shorter then the font size would be little bit bigger and vice versa.

Can anyone tell me how to resolve this issue?

 

Why my CSS Drop Down Menu is Not Working on Top of Flash >>

<< list-style-position bug - My CSS UL List Style Position Outside Fails

 

COMMENT

*Name:
*Comment:
You can use HTML tags here.
*Code: Please enter the sum of 5+2