Skip to content

Instantly share code, notes, and snippets.

@nielsdoorn
Created June 5, 2015 09:39
Show Gist options
  • Save nielsdoorn/5eec3cbf56cc2a0b38ed to your computer and use it in GitHub Desktop.
Save nielsdoorn/5eec3cbf56cc2a0b38ed to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>test</h1>
</div>
<div id="nav">
<ul>
<li><a href="">link-1</a></li>
<li><a href="">link-2</a></li>
<li><a href="">link-3</a></li>
<li><a href="">link-4</a></li>
</ul>
</div>
<div id="content">
test
</div>
</div>
</body>
</html>
body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
#wrapper {
width: 1024px;
margin: 0 auto;
background-color: #bbb;
}
#header {
height: 200px;
background-color: green;
}
#nav {
width: 200px;
display: table-cell;
background-color: red;
}
#content {
display: table-cell;
padding: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment