Question : Getting a div to expand to accommodate text created with PHP

Please take a look at this page:
http://discretedata.com/Test/PHPTester5.php

how do I get the div to expand to accommodate the text created by the PHP code?

Answer : Getting a div to expand to accommodate text created with PHP

set div elements height property to auto, currently it is fixed to 40px.

This will work for you.
Addy
Random Solutions  
 
programming4us programming4us