Jump to content

Css Div 100% Height Problem

Guest adzb

Recommended Posts

Hi, I've got a problem when I use:

body, html {height: 100%;min-height: 100%;}<div style="height 100%;"></div>

The div will expand 100% of the browser but however when I enter a lot of content and overflow the browsers screen the div doesn't expand. This is a great problem I have had a few times. What ever i do I just cant get it to follow the content. :)I have been doing html and css for a while now but it's the one problem I always have. In the end I just resort to using a table as a wrapper as it works perfectly but I like creating full div sites.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...