Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <head>
- <style type="text/css">
- body { padding:150px 0 0; }
- #wrapper {
- width:760px;
- margin:0 auto;
- position:relative;
- overflow:hidden;
- border:5px solid #ddd;
- }
- #around-content {
- float:left;
- width:100%;
- background:red;
- }
- #nav {
- position:absolute;
- top:5px; left:5px;
- background:blue;
- }
- </style>
- </head>
- <div id=wrapper>
- <div id=around-content>
- <div id=content>
- this is some.. content..<br>
- this is some.. content..<br>
- this is some.. content..<br>
- this is some.. content..<br>
- this is some.. content..<br>
- </div>
- </div>
- <div id="nav">
- nav!
- </div>
- </div>
Add Comment
Please, Sign In to add comment