Solved

CSS Min Height

Posted on 2014-01-23
2
316 Views
Last Modified: 2014-01-23
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
Comment
Question by:Bob Schneider
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 500 total points
ID: 39805329
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
 

Author Closing Comment

by:Bob Schneider
ID: 39805344
Awesome.  Thanks!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now