genau und wenn ich ein text schreibe oder einen <br /> mache folgt der hintergrund mit nur ich will nicht immer <br /> oder height angeben ich will
das der von allein bis zum ende des browsers folgt.
ohne das ich was angeben muss.
€dit : so ich habe was gefunden..
Code:
html, body {
background-color: #333333;
margin: 0;
padding: 0;
height: 100%; /* WICHTIG!!! STRECKT ANZEIGENBEREICH AUF 100% */
}
#wrapper {
background-color: #FFFFFF;
width: 80%;
margin: auto; /* Div soll zentriert werden */
min-height: 100%; /* Mindesthöhe für moderne Browser */
height:auto !important; /* Important Regel für moderne Browser */
height:100%; /* Mindesthöhe für den IE */
overflow: hidden !important; /* FF Scroll-leiste */
}
nur funktioniert das bei mir nicht ._. kann wer das mal bei mir einbauen?..
Code:
@charset "utf-8";
* {
font-family: "Times New Roman", Arial, Verdana;
font-size: 13px;
margin: 0px;
padding: 0px;
color: #09F;
}
body {
height: 100%; /* WICHTIG!!! STRECKT ANZEIGENBEREICH AUF 100% */
}
#wrapperarea {
width: 1017px;
margin-right: auto;
margin-left: auto;
}
#wrapperarea #header {
height: 150px;
}
#wrapperarea #wrapper {
height: 45px;
background-image: url(../image/wrapper.png);
background-repeat: no-repeat;
}
#wrapperarea #contentarea #sidebar-left {
width: 253px;
float: left;
text-align: center;
background-image: url(../image/sidebar-left.png);
background-repeat: repeat-y;
}
#wrapperarea #contentarea #textarea {
width: 511px;
margin: auto;
float: left;
background-color: #171717;
background-repeat: repeat-y;
}
#wrapperarea #contentarea #sidebar-right {
float: right;
width: 253px;
text-align: center;
background-image: url(../image/sidebar-right.png);
background-repeat: repeat-y;
}
#footer {
position:fixed;
bottom:0px;
background-image: url(../image/footer.png);
background-color: #000;
background-repeat: repeat-x;
padding: 5px;
width:100%;
}
.liste {
margin: 5px auto;
padding: 10px 0 0 75px;
}
.navi {
list-style-type: none;
}
.navi a {
text-decoration: none;
color: #999;
float: left;
margin-right: 999px;
width: 98px;
height: 29px;
padding-top: 5px;
background-repeat: no-repeat;
background-image: url(../image/button.png)
}
.navi a:hover{
color: white;
text-shadow: 0 0 10px white;
width: 98px;
height: 29px;
padding-top: 5px;
background-repeat: no-repeat;
background-image: url(../image/buttonh.png)
}
li {
text-align: center;
}
input {
color: #000;
}
textarea {
color: #000;
}
a img {
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
p {
margin: 15px;
}
b {
color: #FC3;
}
strong {
color: #FC3;
}
Es sollen sich Sidebar-Left und Right und die Textarea wiederholen..