.header { position: absolute; width: 100%; height: 20%; top: 0; left: 0; background-color: darkred; } .language { position: absolute; width: 10%; height: 20%; top: 0; right: 0; background-color: #f8b803; } .language img { height: 35%; } #logo { margin: 10px; } .ticker { position: absolute; width: 100%; height: 4%; top: 20%; left: 0; background-color: #0f0; font-size: 24px; } .navbar { position: absolute; width: 20%; height: 78%; top: 24%; left: 0; background-color: pink; } .content { position: absolute; width: 80%; height: 78%; top: 24%; left: 20%; background-color: aqua; }