Computing.Net > Forums > Web Development > CSS Vertical Stretch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

CSS Vertical Stretch

Reply to Message Icon

Name: BigShow
Date: September 21, 2008 at 05:29:02 Pacific
OS: xp
CPU/Ram: 1gig
Product: dell
Comment:

Hey Guys, I am having a problem that I have never run into. I am trying to get the content div to stretch vertically to the content on the page. I have a wrap div that everything is in, then a header div, a content and a footer. The content is only going half way down the page. This is a fairly new problem because i have never had it before so I am stumped. Any siggestions.



Sponsored Link
Ads by Google

Response Number 1
Name: doodzl
Date: September 24, 2008 at 05:12:48 Pacific
Reply:

use "min-height" in your css to specify a minumum height, this will not work in ie5,6

the css will NOT automatically fill vertical.

normally it will only fill to the size of the text in there,

if you want to cheat, put a load of <br /> at the end but i dont think you should


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: CSS Vertical Stretch

CSS positioning & dimensions (?) www.computing.net/answers/webdevel/css-positioning-amp-dimensions-/2810.html

CSS Relative Positioning www.computing.net/answers/webdevel/css-relative-positioning/2265.html

BG Stretch on any Resolution w/text www.computing.net/answers/webdevel/bg-stretch-on-any-resolution-wtext/785.html