Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7" lang="en"><![endif]-->
- <!--[if IE 7]><html class="lt-ie9 lt-ie8" lang="en"><![endif]-->
- <!--[if IE 8]><html class="lt-ie9" lang="en"><![endif]-->
- <!--[if gt IE 8]><!--><html lang="en"><!--<![endif]-->
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Box</title>
- <style>
- html, body {
- margin: 0;
- padding: 0;
- height: 100%;
- }
- .box {
- min-height: 100%;
- }
- .lt-ie7 .box {
- height: 100%;
- }
- </style>
- </head>
- <body>
- <div id="container" class='box' style="background-color: green"></div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment