February 26, 201016 yr Hi, Is there a way to set the height of a div so that it will expand vertically to hold as much text and images as has to be entered, but at the same time setting a minimum height so it doesn't scale down below say for example 700px? Thanks
February 26, 201016 yr Well Min-Height will work on most browsers... try this for all: #YourDivBox { min-height:700px; height:auto !important; height:700px; } It is a no-frills css hack for IE6+ (from http://www.dustindiaz.com/min-height-fast-hack/) Good luck
Create an account or sign in to comment