#menubg { background: #ff0000; color: #ffffff; margin: 8px; position: absolute; top: 0px; left: 0px; width: 170px; min-height: 500px; border-width: 1px; border-color: black; border-style: solid; } #menubox{ margin:8px; margin-top:20px; } .menu { color: #ffffff; } body { margin-left: 190px; margin-right: 100px; color: #000000; background: #ffffff; } h1 { text-align: center; } h2 { text-align: center; }