Ich habe ein Problem in meinem Homepagedesign welches mit CSS geschrieben ist. Unzwar das wenn ich die Browsergröße ändere, endsteht eine lücke zwischen meinem Textfield_head und Textfield_main.. hier mein Css code:
(ich meine die textfield_x)
Code:
@import "reset.css";
/* CSS Document */
#header {
margin-left:auto;
margin-right:auto;
top:0;
left:15%;
right:15%;
height:250px;
width:70%;
min-width:800px;
background-image:url(img/head.png);
position:absolute;
z-index:2;
}
#menu {
height:75px;
top:250px;
width:70%;
margin-left:auto;
margin-right:auto;
min-width:800px;
left:15%;
right:15%;
background-image:url(img/menu.png);
position:absolute;
z-index:2;
}
#content {
width:70%;
height:897px;
min-width:800px;
margin-left:auto;
margin-right:auto;
top:328px;
left:15%;
right:15%;
background-image:url(img/menu.png);
background-size:70%;
background-height:63%;
position:absolute;
z-index:2;
}
#sidebar {
margin-left:0%;
width:15%;
float:left;
background-image:url(img/transparent.png);
position:absolute;
z-index:2;
}
#rightbar {
width:14%;
margin-left:85%;
float:right;
background-image:url(img/transparent.png);
position:absolute;
z-index:2;
}
#footer {
width:70%;
margin-left:auto;
margin-right:auto;
top:1225px;
left:15%;
right:15%;
min-width:800px;
background:#999;
height:75px;
background-image:url(img/footer.png);
position:absolute;
z-index:2;
}
#figo {
background-image:url(img/Figo.png);
background-repeat:no-repeat;
top:25px;
left:35px;
background-size:300px, 180px;
margin-left:15%;
width:70%;
height:250px;
min-height:120px;
min-width:200px;
position:absolute;
z-index:3;
}
#strich {
background-image:url(img/strich.png);
background-repeat:repeat-x;
margin-left:auto;
margin-right:auto;
left:15%;
right:15%;
height:3px;
width:70%;
min-width:800px;
top:325px;
position:absolute;
z-index:3;
}
#textfield_head{
background-image:url(img/textfield_head.png);
background-repeat:no-repeat;
background-size:100%, 100%;
width:40%;
height:40px;
min-height:40px;
top:364px;
margin-left:30%;
position:absolute;
min-width:460px;
z-index:3;
}
#textfield_main{
background-image:url(img/textfield_main.png);
background-repeat:repeat-y;
background-size:100%, 1px;
width:40%;
height:750px;
top:389px;
margin-left:30%;
position:absolute;
min-width:460px;
z-index:3;
}
#textfield_bottom{
background-image:url(img/textfield_bottom.png);
background-repeat:no-repeat;
background-size:100%, 100%;
width:40%;
height:40px;
top:1139px;
margin-left:30%;
position:absolute;
min-width:460px;
z-index:3;
}







