Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

CSS Min Height

Why I can't figure this out is beyond me.  I want this page to have a minimum height when no year has been selected but to expand as needed based on what has been selected:

http://www.gopherstateevents.com/series/series_info.asp?year=2014

Any help would be much appreciated.
0
Bob Schneider
Asked:
Bob Schneider
1 Solution
 
jmcmunnCommented:
If you simply want a div (your main content div in this case) to have a minimum height, but then resize to expand when content is there, use these two CSS consecutively (with whatever height you want):

min-height: 100px;
height: auto;
0
 
Bob SchneiderCo-OwnerAuthor Commented:
Awesome.  Thanks!!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now