Hallo ich bräuchte Hilfe!
Irgendwas läuft schief, ich habe versucht mein Seitenlayout in TemplaVoilà zu bringen. Leider mit wenig Erfolg. Die meisten Seiten werden zerhackt. Die Seite ist ja ok:
http://www.creative-id.de/dummy-4.1.5/index.php?id=46
Aber die meisten Seiten werden zerhackt.
http://www.creative-id.de/dummy-4.1.5/index.php?id=37
Liegt es an der CSS, an der HTML, an Typo3 oder an TemplaVoilà?
Danke
Ich behaupte mal es liegt ein deinem CSS. Deine H1 hat einen top-margin. Der verursacht diese Verschiebungen.
Es gibt nur einen DIV-Tag mit einem margin-top. Der soll Rand zur Browserleiste lassen und das funktioniert auch. Die restlichen tags haben einen margin-top von 0px.
@charset "utf-8";
body {
background-color: #666666;
text-align: center;
margin: 0px;
padding: 0px;
}
#wrapper {
text-align: left;
width: 984px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
}
#up_frame {
margin-top: 24px;
margin-bottom: 0px;
}
#nav_swf {
margin-top: 0px;
margin-bottom: 0px;
}
#mid_frame {
margin-top: 0px;
margin-bottom: 0px;
}
#content_box {
background-image: url(cont.gif);
background-repeat: repeat-y;
margin-top: 0px;
margin-bottom: 0px;
}
#content {
background-repeat: repeat-y;
height: auto;
margin-right: 180px;
margin-left: 180px;
margin-top: 0px;
margin-bottom: 0px;
}
#left_content {
margin-left: 16px;
width: 152px;
float: left;
margin-top: 0px;
margin-bottom: 0px;
}
#right_content {
float: right;
width: 152px;
margin-right: 16px;
margin-top: 0px;
margin-bottom: 0px;
}
#mid_frame2 {
margin-top: 0px;
margin-bottom: 0px;
}
#footer {
margin-top: 0px;
margin-bottom: 0px;
background-image: url(leisteunten2.gif);
background-repeat: repeat-y;
height: auto;
clear: both;
}
#down_frame {
margin-top: 0px;
margin-bottom: 0px;
clear: both;
}
.Stil1 {color: #FFFFFF}
Ja hab ich gesehen, dann bau doch bitte mal in deine CSS Datei ein:
h1{
margin-top: 0;
}
Grüße
Christian
Das Problem entsteht dadurch, dass Typo3 bei Textinhalten automatisch Abstände (Absätze?) -> rot eingekreist einbaut. Andere Inhalte z.B. Loginfelder haben diesen Abstand nicht. Warum ist das so und wo kann ich es ändern?
Bild: img405.imageshack.us/…/abstandgb5.jpg
Ich vermute mal du hast was anderes als css_styled_content fürs Contentrendering eingestellt. content(default) oder cSet oder so...
Würde bitte jemand diesen Thread löschen.
Danke!
Supermuh
Einfach mal als gelöst speichern, würde ich sagen, damit der nächste mit dem selben Problem weiss, wo dran es lag.
Tja das macht leider keinen Sinn weil die Links nicht mehr stimmen d.h. Nährwert = 0. Warum kann man seinen Beitrag nicht editieren? 🙁
Hallo,
man kann nur jeweils den letzten Beitrag editieren und wenn er der eigene ist. Hier werden keine Threads gelöscht, weil dann der Sinn eines Forums ad absurdum geführt wird!
Jeder User wird erkennen, dass das Problem eben gelöst worden ist, insbesonders wenn du die Lösung etwas genauer schildern würdest
georg