I have div with height="400px" and width="25px".How to expand div when the content overflows?
use stylesheets and change
width:25px;
to
min-width:25px;
AND
height:400px;
min-height:400px;