Jump to content

How can i make each div has height 100% fixed


Recommended Posts

The html and body elements need to have a height.


html, body {

height: 100%;



From that point on, all ancestors of the element you want to set the height of also need to have 100% height.

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...