This is the content

www.dhtmlgoodies.com

Max height of this box is set to 50px

Hello!

This is a very simple script that autofits text into it's parent element. You can see some examples above.

Example of use:
<div id="theBox3"><span>Max height of this box is set to 50px</span></div>
<script type="text/javascript">fitTextInBox('theBox3',50);</script>