h1{background:royalblue; margin-right: 1em;} h2{color:blue;} body { margin-right: 11em; border-right: double ; } hr{border: 1px solid; margin-right: 2em;} div.menu{ position: fixed; white-space: pre; background: yellow; top: 2em; right: 0em; width: 9em; line-height: 1.4; margin-left: 0em; padding: 1ex; } div.italy {position: relative; width: 18ex; height: 12ex; border: 1px solid black;} div.italy div:first-child { position: absolute; left: 0; top: 0; width: 6ex; height: 12ex; background: green; } div.italy div+div+div { position: absolute; right: 0; top:0; width: 6ex; height: 12ex; background: red; } div.umigame {position: relative; width: 500px; height: 500px; border: 1px solid black; } div.umigame div:first-child {float: right;} div.umigame div:first-child +div p {font-size: 500%;}