Hallo @sejuma!
Ja wenn das alles so einfach wäre "margin-top" für den unteren Div Container
hab ich schon probiert, klappt nicht! Zumindest nicht alleine damit?
Ich poste dir jetzt nochmal meine Seite http://www.chat-surium.com/ als
Beispiel, der div Container wo "Sprache wählen" steht soll genau unter den
div Container "Suche" im Abstand von eben 5px oder 10px egal.
Aber den da genau drunter zu bringen, egal was ich mache, float, clear, position, relative, absolut es geht mit nix...
Habe jetzt wieder auf "floats" zurückgestellt zum xten Male
ich hoffe irgendwer weis wie man das lösen kann, denn sonst flipp ich da noch aus vor dem scheiss Kasten gg kein Witz Leute...
Hier wäre das CSS dazu:
HTML-Code:
* {
margin: 0;
padding: 0; /* Alle Abstände werden auf Null gesetzt */
}
body {
background-image: url(../Bilder/Hintergrund1.jpg);
background-repeat: repeat-x;
background-color: #8F3D00;
background-attachment: scroll;
color: black;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 78%;
text-align: center; /* Internet-Explorer 5.x Hack */
}
.Logo {
float: left; /* Image-Logo */
margin: 0;
padding: 0 0 10px 0;
text-decoration: none;
border: none;
}
.beide {
clear: both;
}
.Deutsch {
position: absolute;
top: 99px;
left: 37px;
border: 1px solid #8F3D00;
margin: 0;
padding: 0;
}
h1 {
margin: 0;
padding: 0; /* Überschriften h1 */
font-size: 109%;
text-align: left;
}
h2 {
margin: 0;
padding: 0 0 0 3px; /* Überschriften h2 */
font-size: 108%;
text-align: center;
display: inline;
}
h3 {
margin: 0 0 2em 0;
padding: 0; /* Überschriften h3 */
font-size: 95%;
}
p {
margin: 0;
padding: 0 0 2.5em 0; /* Absätze */
text-align: left;
line-height: 1.7em;
position: relative; /* Peekaboo Bug */
}
a:link {
color: #0000FF;
text-decoration: none;
}
a:visited {
color: #0000FF;
text-decoration: none;
}
a:hover {
color: #0000FF;
text-decoration: underline;
}
#Box {
background-color: #FFBF47;
margin: 15px 20px 15px 20px;
padding: 10px;
}
#Kopfleiste-Unten {
border-top: 1px solid #8F3D00;
border-right: 1px solid #8F3D00;
border-left: 1px solid #8F3D00;
border-bottom: 4px solid #8F3D00;
background-color: #FFDFA3;
height: 33px;
}
#Kopfleiste-Unten ul {
list-style-type: none;
margin: 0;
padding: 0.7em 35px 0.4em 0;
text-align: right;
}
#Kopfleiste-Unten li {
display: inline;
color: #7C5C1E;
}
#Kopfleiste-Unten a:link, #Kopfleiste-Unten a:visited {
text-decoration: none;
}
#Titelzeile {
margin: 0;
padding: 0.7em 0 0.4em 32px;
width: 465px;
float: left;
}
.Chat-Smiley1 {
position: absolute;
top: 98px;
right: 37px;
margin: 0;
padding: 0;
}
#Hauptteil {
margin-top: 4px;
width: 100%;
height: 1%;
}
#Inhalt {
margin: 0 190px 0 211px;
padding: 20px;
border: 1px solid #8F3D00;
background-color: #FFDFA3;
color: black;
}
#Sprache {
float: right;
width: 179px;
background-color: #FFDFA3;
color: black;
border: 1px solid #8F3D00;
padding: 0;
margin: 0;
height: 1%;
}
.Chaticon {
text-decoration: none;
border: none;
}
.Flaggen {
text-decoration: none;
border: 1px solid #8F3D00;
}
.Chaticon1 {
text-align: center;
margin: 0 0 2.5em 0;
}
#Seitenleiste {
float: right;
width: 179px;
background-color: #FFDFA3;
color: black;
border: 1px solid #8F3D00;
margin: 0;
padding: 0;
}
#suchform .text {
width: 137px;
border: 1px solid #8F3D00;
}
#suchform .suchknopf {
text-align: right;
margin-top: 4px;
}
#suchform .btn {
border: 1px solid #8F3D00;
background-color: #FFDFA3;
color: black;
}
#Seitenleiste h3, #Sprache h3 {
text-align: left;
background-color: #FFDFA3;
margin: 0 0 1.4em 0;
padding: 0;
}
#Seitenleiste .Innen, #Sprache .Innen {
margin: 0;
padding: 20px;
}
#Navigation {
float: left;
width: 200px;
border-top: 1px solid #8F3D00;
border-right: 1px solid #8F3D00;
border-left: 1px solid #8F3D00;
text-align: left;
margin: 0;
padding: 0;
}
#Navigation ul {
list-style: none;
margin: 0;
padding: 0;
}
#Navigation li {
border-bottom: 1px solid #8F3D00;
}
#Navigation li a:link, #Navigation li a:visited {
font-size: 100%;
font-weight: bold;
display: block;
padding: 0.4em 0 0.4em 0.5em;
background-color: #FFDFA3;
text-decoration: none;
}
#Navigation li a:hover {
background-color: #FFBF47;
padding: 0.4em 0 0.4em 0.5em;
}
.Navigationsüberschriften {
margin: 0;
padding: 0.4em 0 0.7em 0.4em;
height: 16px;
background-color: #FFDFA3;
border-bottom: 1px solid #8F3D00;
}
.
.
.
gr Pyro