Thursday, December 15, 2011

100% Height DIV

The trick is to set body with height:100% in CSS:

<style>
   html, body {
      margin: 0px;
      height: 100%;
   }
</style>

Then DIV's CSS height:100% will work !

No comments:

Post a Comment

Learning System Design with Cute Animation

 This one is superb -  https://designed-to-scale.vercel.app/