Hallo Leute,
ich hab gerade folgendes Problem, bei der Homepage die ich momentan erstelle, greife ich seit langem mal wieder auf Div-Container und bin entsprechend in der Benutzung dieser, sowie in CSS eingerostet.
Nun habe ich alles soweit hinbekommen, ausser meine "Abstandhalter", diese werden nämlich nicht angezeigt.
Hier mal der Html Code
Und hier meine Stylesheet
Was habe ich bei den id's Abstand1-4 falsch gemacht, dass diese nicht angezeigt werden?
Bevor ich es vergesse, die Abstandhalter sollen automatisch in die Höhe gezogen werden.
Hoffe Ihr könnt mir da helfen.
Gruß
Jinnai
ich hab gerade folgendes Problem, bei der Homepage die ich momentan erstelle, greife ich seit langem mal wieder auf Div-Container und bin entsprechend in der Benutzung dieser, sowie in CSS eingerostet.
Nun habe ich alles soweit hinbekommen, ausser meine "Abstandhalter", diese werden nämlich nicht angezeigt.
Hier mal der Html Code
Code:
<body>
<div id="wrapper">
<div id="header"></div> <!-- Header -->
<div id="adresse"></div> <!-- Zeile für die Adresse -->
<div id="content"> <!-- Content Beginn -->
<div id="abstand1"></div>
<div id="menu_box">
<!-- Navi Anfang -->
<div id="navi_head"></div>
<div id="navi"></div>
<div id="navi_foot"></div>
<!-- Navi Ende -->
<!-- Öffnungszeiten -->
<div id="open_head"></div>
<div id="open"></div>
<div id="open_foot"></div>
</div>
<div id="abstand2"></div>
<div id="content_box">
<div id="content_head"></div>
<div id="content_inhalt"></div>
<div id="content_foot"></div>
</div>
<div id="abstand3"></div>
<div id="leistung_box">
<div id="leistung_head"></div>
<div id="leistungen"></div>
<div id="leistung_foot"></div>
</div>
<div id="abstand4"></div>
</div> <!-- Content Ende -->
<div class="clear"></div>
<div id="footer"></div>
</div>
</body>
Und hier meine Stylesheet
Code:
@charset "utf-8";
body {
background-color:#244e79;
margin:0px;
}
.clear {
clear:both;
}
#wrapper {
width:902px;
height:auto;
margin:auto;
}
#header {
background-image:url(Bilder/header.gif);
width:902px;
height:135px;
}
#adresse {
width:902px;
height:15px;
background-image:url(Bilder/addy.gif);
}
#content {
width:902px;
height:auto;
}
#abstand1 {
width:11px;
height:auto;
float:left;
background-image:url(Bilder/abstand1.gif);
}
#abstand2 {
width:16px;
height:auto;
float:left;
background-image:url(Bilder/abstand2.gif);
background-repeat:repeat;
}
#abstand3 {
width:20px;
height:auto;
float:left;
background-image:url(Bilder/abstand5.gif);
background-repeat:repeat;
}
#abstand4 {
width:11px;;
height:auto;
float:left;
background-image:url(Bilder/abstand6.gif);
background-repeat:repeat;
}
#menu_box {
width:179px;
height:auto;
float:left;
}
#navi_head {
width:179px;
height:40px;
background-image:url(Bilder/menu1.gif);
}
#navi {
width:179px;
height:auto;
background-image:url(Bilder/menufield.gif);
}
#navi_foot {
width:179px;
height:4px;
background-image:url(Bilder/menu2.gif);
}
#open_head {
width:179px;
height:48px;
background-image:url(Bilder/offnungszeiten1.gif);
}
#open {
width:179px;
height:auto;
background-image:url(Bilder/offfield.gif);
}
#open_foot {
width:179px;
height:4px;;
background-image:url(Bilder/offnungszeiten2.gif);
}
#content_box {
width:486px;
height:auto;
float:left;
}
#content_head {
width:486px;
height:14px;
background-image:url(Bilder/content_head.gif);
}
#content_inhalt {
width:486px;
height:auto;
background-image:url(Bilder/content2.gif);
}
#content_foot {
width:486px;
height:4px;
background-image:url(Bilder/content3.gif);
}
#leistung_box {
width:179px;
height:auto;
float:left;
}
#leistung_head {
width:179px;
height:40px;
background-image:url(Bilder/leistungen1.gif);
}
#leistungen {
width:179px;
height:auto;
background-image:url(Bilder/leistungenfield.gif);
}
#leistung_foot {
width:179px;
height:4px;
background-image:url(Bilder/leistungen2.gif);
}
#footer {
width:902px;
height:27px;;
background-image:url(Bilder/footer.gif);
}
Was habe ich bei den id's Abstand1-4 falsch gemacht, dass diese nicht angezeigt werden?
Bevor ich es vergesse, die Abstandhalter sollen automatisch in die Höhe gezogen werden.
Hoffe Ihr könnt mir da helfen.
Gruß
Jinnai