Skip to content

Instantly share code, notes, and snippets.

@pepelsbey
Created February 9, 2012 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pepelsbey/1778440 to your computer and use it in GitHub Desktop.
Save pepelsbey/1778440 to your computer and use it in GitHub Desktop.
Untitled
HTML, BODY {
margin:0;
padding:0;
height:100%;
font:16px sans-serif;
}
BODY {
display:inline-table;
width:100%;
height:100%;
vertical-align:top;
}
.header {
display:table-row;
}
.header DIV {
display:table-cell;
padding:20px;
background:#069;
}
.article {
display:table-row;
}
.article DIV {
display:table-cell;
height:100%;
padding:20px;
background:#888;
}
<div class="header">
<div>header</div>
</div>
<div class="article">
<div>article</div>
</div>
{"view":"split","prefixfree":"1","page":"result"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment