954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Dynamic height with fixed minimum

<html>
<body>
<div style="width:500; height:200; border:1px solid black;">
adsfadsfadsfadsfadsfadsfadsfadsfadsf
adsfadsfadsfadsfadsfadsfadsfadsfadsf
adsfadsfadsfadsf
</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

Soben
Newbie Poster
12 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

Use the CSS Property called min-height.

Jiwe
Junior Poster in Training
71 posts since Jun 2009
Reputation Points: 10
Solved Threads: 9
 

omg tnx buddy <3

Soben
Newbie Poster
12 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You