Created
October 4, 2010 22:32
-
-
Save mjackson/610586 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
#wrapper { | |
width: 800px; | |
margin: 0 auto; | |
background: green; | |
} | |
#nav { | |
position: fixed; | |
width: 200px; | |
height: 200px; | |
background: blue; | |
} | |
#content { | |
width: 600px; | |
height: 4000px; | |
margin-left: 200px; | |
background: gray; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<div id="nav">This is the nav.</div> | |
<div id="content">This is the content.</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment