Hi Leute ich mache momentan eine eigene Homepage … aber das layout welches in css erstellt habe funktioniert nicht so wie ich das möchte…
die ganzen div-tags werden irgendtwie nicht richtig angezeigt.
Was also mache ich falsch
[HTML]
Björn Bojara <link rel="stylesheet" type="text/css" href="layout.css" [/HTML][HTML]a img { /* Dieser Seleektor entfrent den Tahmen um Bilder*/
border: none;
}
a:link {
color:#414958;
text-decoration: underline;
a:visited {
color: #4E5869;
text-decoration: underline;
}
/* Der container umschließt alle anderen div tags /
.container {
width: 80%;
max-width: 1260px;
min-width: 780px;
background: #FFF;
margin: 0 auto; / Durch diesen Wert wird das Layout zentriert /
}
.header {
background: #6F7D94;
height:200px;
}
.sidebar1 {
float: left;
width: 25%;
background: #93A5C4;
padding-bottom: 10px;
}
.content {
padding: 10px 0;
width: 55%;
float: left;
}
.sidebar2 {
float: left;
width: 20%;
background: #93A5C4;
padding: 10px 0;
}
ul.nav {
list-style: none;
border-top: 1px solid #666;
margin-bottom: 15px;
}
ul.nav li {
border-bottom: 1px solid #666; / Mit diesem tag werden die einzelnen Schaltflächen getrennt /
}
ul.nav a, ul.nav a:visited {
padding: 5px 5px 5px 15px;
display: block; / Hiermit wird die Blockeigenschaft angegeben */
text-decoration: none;
background: #8090AB;
color: #000;
}
.footer {
padding: 10px 0;
background: #6F7D94;
position: relative;
clear: both;
}
[/HTML]