Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<h1>Vertically aligned element</h1>
<div id="blue">
<div id="green"></div>
</div>
</body>
</html>