<html>
<body>
<div style="width:500; height:200; border:1px solid black;">
adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>
adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>
adsf<br>adsf<br>adsf<br>adsf<br>
</div>
</body>
</html>

ello
I'd like to have a div with minimum height of 200px. but if we add more data in to the div the height should be increased not totally fixed you know? what can I do? :-/

the code above works for IE but not for FF XD

Use the CSS Property called min-height.

omg tnx buddy <3

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.