HTML Fill Horizontal


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



Copy this code and paste it in your HTML
  1. <head>
  2. <title>Horizontal Fill</title>
  3. </head>
  4. <body style="margin: 0px;">
  5. <div id="container" style="height: 100%;">
  6. <div id="leftbar" style="float: left; height: 100%; width: 50px; background-color: green;"></div>
  7. <div id="filler" style="height: 100%; background-color: blue;"></div>
  8. <div id="clearer" style="clear: both"></div>
  9. </div>
  10. </body>
  11. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.