Papi62
Mitglied
Hallo erstmal ^^
Ich hab schon fast einen Krampf in den Augen vom Suchen aber ich find den Fehler nicht, sicher nur etwas kleines. In allen IE Versionen wird die Site korrekt angezeigt aber Im Firefox hab ich eine Lücke zwischen Header und Content, bzw. Top und Content.
Im Anhang 2 Bilder die das verdeutlichen und nachstehen das CSS.
Ich hab schon fast einen Krampf in den Augen vom Suchen aber ich find den Fehler nicht, sicher nur etwas kleines. In allen IE Versionen wird die Site korrekt angezeigt aber Im Firefox hab ich eine Lücke zwischen Header und Content, bzw. Top und Content.
Im Anhang 2 Bilder die das verdeutlichen und nachstehen das CSS.
Code:
body{
margin: 0;
background: #000;
}
#wrapper{
position:absolute;
left: 50%;
top: 10px;
margin-bottom: 10px;
width: 812px;
height: auto;
margin-left: -406px; /* negative Hälfte von width:812px */
}
#header{
width: 812px;
height: 165px;
background-image: url(images/vernetzt/header.gif);
background-repeat: no-repeat;
}
#top{
width: 812px;
height: 26px;
background-image: url(images/vernetzt/content_top.gif);
background-repeat: no-repeat;
}
#wrapp{
width: 812px;
min-height:100%; /* Moderne Browser */
height:auto !important; /* Moderne Browser */
height:100%; /* IE */
padding-top: 0px !important;
padding-top: 0px;
background: url(images/vernetzt/content_wrap.gif);
background-repeat: repeat-y;
}
#menue{
float: left;
width: 164px;
margin-top: 0px;
padding-left: 35px;
padding-top: 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
}
#menue ul{
margin: 0;
padding: 0;
list-style: none;
white-space: nowrap;
font-size: 12px;
}
#menue li{
text-align: center;
margin-top: 0px;
margin-bottom: 5px;
height: 35px;
width: 164px;
}
#menue li a{
display: block;
color: #00FF00;
text-decoration: none;
font-family: arial, verdana, sans-serif;
font-weight: bold;
padding-top: 10px;
padding-bottom: 12px;
cursor: pointer;
background: url(images/vernetzt/button.gif) no-repeat;
}
#menue li.current a{
color:#00FF00;
background:url(images/vernetzt/button_hover.gif) no-repeat;
}
#menue li a:hover{
color:#FF0000;
background: url(images/vernetzt/button_hover.gif) no-repeat;
}
#menue li.current a:hover{
color:#FF0000;
background: url(images/vernetzt/button_hover.gif) no-repeat;
cursor:default;
}
#content{
width: 527px;
padding-left: 10px;
padding-right: 0px;
padding-bottom: 5px;
margin-left: 235px !important;
margin-left: 235px
}
.subhead{
width: 527px;
height: 35px;
text-align: center;
margin-bottom: 10px;
background-image: url(images/vernetzt/subhead.gif);
}
.subhead h1{
padding-top: 10px;
text-align: center;
}
#content p{
margin: 0;
padding-left: 0px;
padding-right: 0px;
color: #00FF00;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-align: justify;
}
.kursiv{
font-style: italic;
color: #00FF00 !important;
}
.fett{
font-weight: bold;
}
#content em{
font-weight: bold;
}
#content h1{
margin: 0;
padding-left: 0px;
padding-right: 0px;
color: #00FF00;
font-size: 12px;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-align: center;
}
#content h2{
margin-bottom: 5px;
padding-left: 0px;
padding-right: 0px;
color: #00FF00;
font-size: 11px;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#content h3{
margin-top: 5px;
padding-left: 0px;
padding-right: 0px;
color: #00FF00;
font-size: 11px;
font-weight: normal;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-align: center;
}
#content h4{
margin: 0;
padding-left: 0px;
padding-right: 0px;
color: #00FF00;
font-size: 11px;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-align: center;
}
#content ul{
margin-top: 0px;
margin-bottom: 0px;
padding-top: 0px;
padding-bottom: 0px;
color:#00FF00;
font-size: 11px;
font-weight: normal;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#content ol{
margin-top: 5px;
margin-bottom: 0px;
padding-top: 0px;
padding-bottom: 0px;
color:#00FF00;
font-size: 11px;
font-weight: normal;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#content a:link{
color: #00FF00;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: underline;
}
#content a:visited, #content a:active, #content a:focus{
color: #00FF00;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: underline;
}
#content a:hover{
color: #FF0000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: underline;
}
form{
border-color: #00FF00;
}
#bottom{
width: 812px;
height: 19px;
background-image: url(images/vernetzt/content_bottom.gif);
background-repeat: no-repeat;
}
#footer{
width: 812px;
height: 97px;
margin-bottom: 10px;
background-image: url(images/vernetzt/footer.gif);
background-repeat:no-repeat;
}
.foto1{
text-align: center;
margin: 10px auto;
border : 0;
color:#00FF00;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.fotor{
float: right;
text-align: center;
margin: 0px 0px 0px 10px;
border : 0;
color:#00FF00;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.fotol{
float: left;
text-align: center;
margin: 0px 10px 0px 0px;
border : 0;
color:#00FF00;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.foto2{
text-align: center;
margin-bottom: -10px !important;
margin-bottom: -13px;
margin-top: 10px;
border : 0;
color:#00FF00;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.foto1 a img, .foto2 a img, .fotor a img, .fotol a img{
border: none;
}
#w3cr{
float: right;
padding: 0;
margin: 0px 80px 0px 0px;
border: none;
}
#w3cl{
float: left;
padding: 0;
margin: 0px 0px 0px 80px;
border: none;
}
.clear{
clear: both;
}
#copyr{
margin-left: 510px;
color: #00FF00;
padding-top: 30px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
}
#copyr a:link{
color: #00FF00;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
text-decoration: underline;
}
#copyr a:visited, #copyr a:active, #copyr a:focus{
color: #00FF00;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
text-decoration: underline;
}
#copyr a:hover{
color: #FF0000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
text-decoration: underline;
}