Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!doctype html>
<meta charset="UTF-8">
<title>Center vertically with table layout</title>
#wrapper {display:table;}
#cell {display:table-cell; vertical-align:middle;}
<div id="wrapper">
<div id="cell">
<div class="content">
Content goes here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.