[jQuery] Calculating the size of a string to make it fit into the whole window

[jQuery] Calculating the size of a string to make it fit into the whole window


Hi,
I have a div into which I want to load a string. The div has height
and width 100% - the whole window - and I want the string to fill the
whole div/window. (And when the window size changes the string's size
changes, too.)
Can someone tell me if jQuery can help me here to calculate the height
of the string in pixel and how?