Welcome to WebmasterWorld Guest from 54.162.166.214

Forum Moderators: not2easy

Message Too Old, No Replies

min height

     
8:20 pm on Sep 11, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 21, 2002
posts: 1547
votes: 0


Is there some code that can make e.g. a div, be a minimum height. e.g. a div must be at least 500px high, but if the content goes further than this, then the div will extend to e.g. 600px?
10:06 pm on Sept 11, 2012 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:14246
votes: 550


How far back do you need to go? Current browsers support the basic

{min-height: 500px;}

but MSIE5 doesn't. (I'm on a Mac, hence nothing newer.)