div.menu { position: fixed; right:1ex; top: 10em; width: 9em; color: blue; background: pink; padding: right;20em 15em; white-space:pre; float:right; } hr{margin-right:20px; } h1{background:orange;} h2{color:blue;} div.line{border:lleft; double; 3px } body {margin-right:10em; border-right:double; } 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:relative; left: 12ex; top:0; width:6ex; heigth:12ex; background:red; }