diff --git a/css/layout.css b/css/layout.css index 382e411..8e92c6c 100644 --- a/css/layout.css +++ b/css/layout.css @@ -45,25 +45,26 @@ body{ } #rechnung1, #rechnung2 { width: 20%; - margin: 0 100px; padding: 20px; text-align: center; - font-size: 1.5em; z-index: 10; - position: fixed; + position: relative; display: inline-block; } #rechnung1{ background-color: rgb(0, 225, 255); border-radius: 15px; outline: 8px solid black; - left: 15%; + margin-left: auto; + margin-right: 100px; } + #rechnung2{ background-color: red; border-radius: 15px; outline: 8px solid black; - right: 15%; + margin-left: 100px; + margin-right: auto; } #rechnung1 img, #rechnung2 img { position: absolute;