<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="css/style-div.css" rel="stylesheet" type="text/css"> </head> <body class="body"> <!--- hoved start ---> <div class="hoved"> <!--- menu start ---> <div class="menu-v"> menu-v </div> <div class="menu"> menu </div> <div class="menu-h"> menu-h </div> <!--- menu stop ---> <!--- position start ---> <div class="position-v"> position-v </div> <div class="position"> position </div> <div class="position-h"> position-h </div> <!--- position stop ---> <!--- slideshow start ---> <div class="slide-v"> slide-v </div> <div class="slide"> slide</div> <div class="slide-h"> slide-h </div> <!--- slideshow stop ---> <!--- main start ---> <div class="main-v"> main-v </div> <div class="main"> main </div> <div class="main-h"> main-h </div> <!--- main stop ---> <!--- bottom start ---> <div class="bottom-v"> bottom-v </div> <div class="bottom"> bottom </div> <div class="bottom-h"> bottom-h </div> <!--- bottom stop ---> <!--- hoved stop ---> </div> </body> </html>
@charset "utf-8"; .body { margin: 0px; } .hoved { height: 100%; width: 100%; } .menu { width: 1000px; background-color: #2b8bc7; border-style: solid; border-width: thin; margin-left: auto; margin-right: auto; } .menu-v { background-color: #2b8bc7; float: left; } .menu-h { background-color: #2b8bc7; float: right; } .position { width: 1000px; background-color: #7dbee6; border-style: solid; border-width: thin; } .position-v { background-color: #7dbee6; border-style: solid; border-width: thin; } .position-h { background-color: #7dbee6; border-style: solid; border-width: thin; } .slide { width: 1000px; border-style: solid; border-width: thin; } .slide-v { border-style: solid; border-width: thin; } .slide-h { border-style: solid; border-width: thin; } .main { width: 1000px; background-color: #7dbee6; border-style: solid; border-width: thin; } .main-v { background-color: #7dbee6; border-style: solid; border-width: thin; } .main-h { background-color: #7dbee6; border-style: solid; border-width: thin; } .bottom { width: 1000px; background-color: #2b8bc7; border-style: solid; border-width: thin; } .bottom-v { background-color: #2b8bc7; border-style: solid; border-width: thin; } .bottom-h { background-color: #2b8bc7; border-style: solid; border-width: thin; }
Ja. Det var det der var meningen med, at putte det på jsfiddle