| |||||||
| Registrieren | Lexikon | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
![]() |
| | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| PostRank: 0 ![]() Registriert seit: 15.01.2008
Beiträge: 13
| IE6 div-problem sidebar verrutscht nach unten hi, ich habe ein kleines problem mit der darstellung im IE6/5.5: die sidebar verrutscht nach unten und wird nicht neben dem content-div dargestellt (per float). so sieht es aus: http://api.browsershots.org/png/orig...5f30d8454a.png hab jetzt schon alles ausprobiert, z.b. den float verändert, verschoben und in der sidebar ganz rausgenommen etc., aber nichts hilft. hat jemand von euch vielleicht einen tipp? danke! p.s.: hier noch ein css-auszug: Code: body {
font-size: 62.5%; /* Resets 1em to 10px */
font-family: Arial,Helvetica,sans-serif;
background: #000000 url('images/bg_body.jpg') fixed center top no-repeat;
color: black;
text-align: center;
}
#page {
border: none;
text-align: left;
}
#page_page {
border: none;
text-align: left;
}
#header {
background: #454545 url('images/kubrickheader.jpg') no-repeat bottom center;
}
#headerimg {
margin: 0 0 0 0px;
height: 200px;
width: 760px;
}
#content {
font-size: 1.2em
}
.widecolumn .entry p {
font-size: 1.05em;
}
.narrowcolumn .entry, .widecolumn .entry {
line-height: 1.4em;
}
.widecolumn {
line-height: 1.6em;
}
.narrowcolumn .postmetadata {
text-align: center;
}
.alt {
background-color: #f8f8f8;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
#footer {
background: #fff url('images/kubrickfooter.jpg') no-repeat top;
border: none;
}
/* Begin Structure */
body {
margin: 0 0 0 0px;
padding: 0;
}
#page {
background-color: #454545;
margin: 0px auto;
padding: 0;
width: 760px;
}
#page_page {
background-color: #ffffff;
margin: 0px auto;
padding: 0;
width: 760px;
}
#header {
background-color: #ffffff;
margin: 0 0 0 0px;
padding: 0;
height: 200px;
width: 760px;
}
#headerimg {
margin: 0;
height: 200px;
width: 100%;
}
.narrowcolumn {
float: left;
padding: 0 0 0px 45px;
margin: 0 0 0 0px;
background-color: #ffffff;
width: 450px;
}
.widecolumn {
padding: 10px 0 20px 0;
margin: 5px 0 0 150px;
width: 450px;
}
.post {
margin: 0 0 40px;
text-align: left;
}
#footer {
clear: both;
padding: 0px;
margin: 0px auto;
width: 760px;
}
#footer p {
margin: 0;
padding: 20px 0;
text-align: center;
}
/* End Structure */
/* Begin Sidebar */
#sidebar
{
padding: 0 0 0 0px;
margin-left: 495px;
width: 265px;
height: 500px;
background: #454545 url('images/bg_sidebar.jpg') center top no-repeat;
}
#sidebar form {
margin: 0;
}
/* End Sidebar */
|
| | |
| | #2 (permalink) |
| WPD-Moderator ![]() Registriert seit: 05.10.2006
Beiträge: 7.410
| Ist das HTML-Markup sauber? Manchmal hilfts, die Sidebar bzw. den Content ein paar Pixel schmaler zu machen. Ältere IEs wenden nämlich ein anders definiertes CSS-Box-Modell an und berechnen deshalb die Breite anders (der IE6 nur im Quirks-Mode). |
| | |
![]() |
| Lesezeichen |
| Stichworte |
| ie6 div sidebar |
| Themen-Optionen | |
| Ansicht | |
| |