Vertical Fill 3


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <head>
  2. <title>Vertical Fill 3</title>
  3. </head>
  4. <body style="margin: 0px;">
  5. <div id="container" style="height: 100%;">
  6. <div id="topbar" style="height: 50px; background-color: green;"></div>
  7. <div id="filler" style="height: expression(document.body.clientHeight - document.getElementById('topbar').offsetHeight); background-color: blue;"></div>
  8. </div>
  9. </body>
  10. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.