avatarbilbo
02-13-2007, 05:45 PM
Hi everyone,
I'm working on a new site and came across something I can't figure out. I have all my content text in a div and it works just the way I want it when there is more/less text; it's flexible and will follow the text as far as necessary. However, when there is only a little bit of text, I don't want the div to be really short.
Is there a way to specify an "at least X px" height? So that if there is no content, there will at least be a certain amount of space left, but then when the content overflows it shows it?
It's probably a really easy solution, but my brain is on overload right now...
Here's a link to the temp site:
http://www.davidjcubberly.com/ha/index.html
the style sheet is located here:
http://www.davidjcubberly.com/ha/img/style.css
Thanks so much! I love this forum, it's just SOO helpful.
Dave
I'm working on a new site and came across something I can't figure out. I have all my content text in a div and it works just the way I want it when there is more/less text; it's flexible and will follow the text as far as necessary. However, when there is only a little bit of text, I don't want the div to be really short.
Is there a way to specify an "at least X px" height? So that if there is no content, there will at least be a certain amount of space left, but then when the content overflows it shows it?
It's probably a really easy solution, but my brain is on overload right now...
Here's a link to the temp site:
http://www.davidjcubberly.com/ha/index.html
the style sheet is located here:
http://www.davidjcubberly.com/ha/img/style.css
Thanks so much! I love this forum, it's just SOO helpful.
Dave