Solved

CSS Min Height

Posted on 2014-01-23
2
313 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

707 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

12 Experts available now in Live!

Get 1:1 Help Now