Zurück   WordPress Deutschland Forum > Support > Design

Antwort
 
Themen-Optionen Ansicht
Alt 09.10.2008, 12:22   #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 */
yoyoyoy ist offline   Mit Zitat antworten
Alt 09.10.2008, 12:31   #2 (permalink)
WPD-Moderator
 
Benutzerbild von marX
 
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).
__________________
FAQ // Codex // WP-Stuff // marcus.zelend.de
marX ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
ie6 div sidebar

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist aus.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:51 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 | Impressum | Ein Inpsyde.com Projekt