div.menu {position: fixed; right: 2px; top: 10px; background-color: yellow; width: 10em; white-space: pre; } h2 {color: blue;} h1 {background-color: fuchsia;} body {padding-right: 1em; margin-right: 11em; border-right-style: double; } div.kokki {position: relative; width: 18ex; height: 12ex; border: 1px solid black; } div.kokki div {position: absolute; width: 6ex; height: 12ex;} div.kokki div:first-child {left: 0; top: 0; background: green;} div.kokki div+div {left : 6ex; top: 0; background: white;} div.kokki div+div+div {left : 12ex; top :0; background: red;} div.aiueo {font-size: 80px; position: relative; width: 300px; } div.syasin {float: right;} span {color: red;}