div { border: black 1px solid; font-family: monospace; font-weight: bold; font-size: 150%; margin: 0; width: 10%; position: absolute; } div.tbh { left: 5%; top: 10%; bottom: 10%; height: 50%; } div.thb { left: 20%; top: 10%; height: 50%; bottom: 10%; } div.bth { left: 35%; bottom: 10%; top: 10%; height: 50%; } div.bht { left: 50%; bottom: 10%; height: 50%; top: 10%; } div.htb { left: 65%; height: 50%; top: 10%; bottom: 10%; } div.hbt { left: 80%; height: 50%; bottom: 10%; top: 10%; }