Zitat:
Zitat von Wiesl
ok neuer Versuch, zumindest die Farben sollten nun neutraler gehalten sein.
Versuch2
|
Hallo,
neuer Versuch alles nicht so einfach was.
Wen die drei Spalten auf der Startseite jetzt einfarbig sein sollen, dann mach das mal so:
Code:
}
body {
box-shadow: 10px 10px 30px #000000;
margin: 10px auto;
max-width: 1200px;
min-width: 904px;
border-color: #000;
border-style: solid;
border-width: 2px 2px 0px 2px;
background-color: #d1d1d1;
color: #000;
}
#container {
}
header {
background-image: url("Images/headerimg.png");
background-position: right center;
background-repeat: no-repeat;
border-bottom: 2px solid #000;
height: 100px;
padding: 5px;
background-color: #008000;
color: #fff;
}
section {
margin: 0 310px 0 200px;
padding: 0 5px;
text-align: center;
border-left: 2px solid #000;
border-right: 2px solid #000;
}
aside {
float: right;
padding: 5px 5px 0px;
width: 300px;
}
#vertical {
float: left;
width: 200px;
}
Die Startseite hat doch reichlich Inhalt in der Mitte. Dan brauchst du diesen Kram nicht einsetzen.
Code:
}
#container {
overflow: hidden;
}
section {
margin-bottom: -20000px;
overflow: hidden;
padding-bottom: 20010px;
}
aside {
margin-bottom: -20000px;
padding: 5px 5px 20010px;
}
#vertical {
margin-bottom: -20000px;
padding-bottom: 20010px;
}
Warum gibst du den
body nicht gleich den border mit, sowie eine Vorder und Hintergrundfarbe.
[Invalid] Markup Validation of http://magicreload.bplaced.net/index.html - W3C Markup Validator
_____________
Roland