Hallo Leute,
ich habe vor kurzem mit html und css angefangen und bekomme das layout, dass ich haben will nicht hin.
hier seht ihr wie die seite aufgebaut sein soll:

und hier ist der code:
und das stylesheet:
Ich hoffe ihr könnt mir helfen und eventuell auch Verbesserungs-Vorschläge mit einbringen.
Danke im voraus.
ich habe vor kurzem mit html und css angefangen und bekomme das layout, dass ich haben will nicht hin.
hier seht ihr wie die seite aufgebaut sein soll:

und hier ist der code:
HTML:
<html>
<head>
<title>Test</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<div class="page">
<div class="header">
<p>header</p>
</div>
<div class="menu">
<div class="button" onmouseover="this.className='button-hover'" onmouseout="this.className='button'">
<p>Item1</p>
</div>
<div class="button" onmouseover="this.className='button-hover'" onmouseout="this.className='button'">
<p>Item2</p>
</div>
<div class="button" onmouseover="this.className='button-hover'" onmouseout="this.className='button'">
<p>Item3</p>
</div>
<div class="clear"></div>
</div>
<div class="contacts">
</div>
<div class="content">
<p>test</p><p>test</p><p>test</p>
<p>test</p><p>test</p><p>test</p>
<p>test</p><p>test</p><p>test</p>
<p>test</p><p>test</p><p>test</p>
</div>
<div class="clear"></div>
</div>
</body>
</html>
HTML:
body {
background: #DCDCDC;
padding: 0px;
margin: 0px;
}
p {
padding: 0px;
margin: 0px;
}
.page {
margin: 20px auto 0px auto;
border: 1px solid black;
width: 960px;
}
.header {
background: #00529B;
padding: 0px;
margin: 0px;
height: 100px;
}
.login {
background: #00529B;
padding: 0px;
margin: 0px;
height: 100px;
}
.menu {
background: #2979C1;
padding: 6px 3px 3px 3px;
margin: 0px;
}
.button {
float: left;
background: #00529B;
margin: 0px 3px 0px 3px;
width: 70px;
height: 30px;
}
.button-hover {
float: left;
background: #01447F;
margin: 0px 3px 0px 3px;
width: 70px;
height: 30px;
cursor: default;
}
.clear {
clear: both;
}
.content {
background: #00529B;
padding: 10px 10px 10px 10px;
margin: 0px;
width: auto;
}
.contacts {
float: right;
background: white;
padding: 0px;
margin: 0px;
width: 200px;
min-height: 200px;
height: auto;
}
Danke im voraus.