Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <style>
- #left
- {
- position: absolute;
- width: 100px;
- height: 100%;
- top: 0;
- left: 0;
- background: red;
- float: left;
- }
- #right
- {
- position: absolute;
- margin-left: 100px;
- background: green;
- height: 100%;
- top: 0;
- left: 0;
- right: 0;
- }
- </style>
- <body>
- <div id="left"> </div>
- <div id="right"> </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement