roundaboutmedia
Erfahrenes Mitglied
HTML:
* {
margin: 0px;
padding: 0px;
}
html, body {
height: 100%;
}
body {
background-color: #FFFFFF;
}
#wrapper {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
}
#hauptdiv {
min-height: 100%;
height: auto !important;
height: 100%;
width: 1024px;
margin-right: auto;
margin-left: auto;
position: relative;
background-attachment: scroll;
background-image: url(../image/red.jpg);
background-repeat: repeat-y;
background-position: center top;
padding: 0px;
}
#navi {
height: 200px;
width: 100px;
position: absolute;
left: 120px;
top: 250px;
z-index: 2;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 0.8em;
line-height: 120%;
font-weight: bold;
color: #000000;
text-align: left;
}
#navi a {
text-decoration: none;
color: #000000;
}
#navi a:hover {
color: #FFCC00;
padding-left: 5px;
}
#navi ul, li {
display: block;
list-style-image: none;
list-style-type: none;
}
#navi ul li {
padding-bottom: 5px;
}
#navi ol {
padding-left: 5px;
}
#navi ol li {
padding-bottom: 0px;
padding-top: 0px;
}
#navi ol li a {
color: #CC0000;
font-size: 0.8em;
}
#headder {
background-attachment: scroll;
background-image: url(../image/kebabhaus_head.png);
background-repeat: no-repeat;
background-position: center top;
height: 550px;
width: 1024px;
position: absolute;
margin: 0px;
padding: 0px;
z-index: 1;
}
#headbild {
background-attachment: scroll;
background-image: url(../image/doenerbild.gif);
background-repeat: no-repeat;
background-position: left top;
position: absolute;
top: 0px;
right: 110px;
height: 237px;
width: 461px;
}
#newsbereich {
background-attachment: scroll;
background-image: url(../image/news.png);
background-repeat: no-repeat;
background-position: left top;
height: 106px;
width: 118px;
position: absolute;
top: 560px;
left: 113px;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9em;
line-height: 120%;
font-weight: bold;
color: #CC0000;
padding-top: 10px;
padding-left: 6px;
}
#content {
width: 600px;
padding-top: 200px;
padding-left: 250px;
padding-bottom: 10px;
z-index: 2;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9em;
line-height: 140%;
font-weight: normal;
color: #FFFFFF;
font-style: normal;
}
#content h1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
line-height: 120%;
font-weight: bold;
padding-bottom: 10px;
}
#content h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9em;
line-height: 130%;
font-weight: bold;
padding-bottom: 5px;
}
#content p {
padding-top: 0px;
padding-bottom: 5px;
}
#content a {
color: #FFFFFF;
text-decoration: underline;
}
#content a:hover {
color: #FFCC00;
}
#content img {
border-style: none;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}
#content strong {
font-weight: bold;
}
#content .text {
float: left;
width: 350px;
}
#content .picture {
width: 200px;
padding: 0px;
float: right;
margin: 0px;
text-align: left;
}
Gibt es eine Lösung das dieser Hintergrund immer von oben nach unten geht auch wenn das Fenster kleiner wird?
Ich hoffe Ihr versteht was ich mein