spotlight: CSS formatierung im IE 6 und 7 passt nicht

Hallo,

Hab meine seite http://www.bnrails.com wie vorgeschlagen geändert, nur hab ich jetzt das problem dass im IE6 und 7 die zeile unter der ersten grafik "falsch" dargestellt wird. Vielleicht könnte mir wer einen tip geben wie ich das auch im IE hinbekomme.
Danke, mfg spotlight

html text:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<title>BNrails.com / Home</title>
<link rel="stylesheet" type="text/css" media="screen" href="styles.css" />
</head>
<body>
<div id="title">
<a href="http://bnrails.com" rel="self"><img src="images/bnrlogo.png" style="float: left;" height="50px" width="799px" alt="Logo" /></a>
</div>
<div id="subtitle">This web site is dedicated to my H0 scale modelrailroad based on Burlington Northern prototype.
</div>
<div id="sidebarcontainer">

<div id="navcontainer">

<ul>
<li><a href="" rel="self" id="current" name="current">Home</a></li>
<li><a href="news/" rel="self">News</a></li>
<li><a href="layout/" rel="self">Layout</a></li>
<li><a href="roster/" rel="self">Roster</a></li>
<li><a href="links/" rel="self">Links</a></li>
<li><a href="misc/" rel="self">Miscellaneous</a></li>
<li><a href="contact/" rel="self">Contact Me</a></li>
</ul>
</div>

</div>

<div id="container">

<div id="pageheader">
<h1>Home</h1>
</div>

<div id="content">
<p>Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
</div>

<div id="footer">

<p><small>© 2008 BNrails.com</small></p>
</div>
</div>
</body>
</html>

css text:

body {
 background: #ffffff url(images/bg_left.png) repeat-y;
 text-align: center;
 margin: 0;
 color: #000000;
 font-family:"lucida grande", geneva, helvetica, sans-serif;
 padding: 0px;
}

img {
 border-style: none;
}

#title {
 height:50px;
}

#subtitle {
 width: 789px;
 background: #eeeeee;
 font-size: small;
 text-align: right;
 padding-right: 10px;
 padding-top: 3px;
 padding-bottom: 2px;
 border-right: solid #cccccc 1px;
 border-bottom: solid #cccccc 1px;
}

/* ----- CONTAINER ----- */

#container {
 text-align: left;
 margin-left: 145px;
 margin-right: 10px;
}

#pageheader h1 {
 color: #21536a;
}

#sidebarcontainer {
 float: left;
  width: 130px;
 top: 0;
 text-align: left;
 left: 0;
}

#sidebarcontainer #sidebar {
 padding: 5px;
}

#sidebarcontainer .sideHeader {
 padding: 15px 5px 0;
 font-weight: bold;
 font-size: small;
 color: #1f5369;
}

#footer {
 text-align: left;
}

#footer p {
 padding-top: 10px;
 margin: 0;
}

/* ----- CONTENT ----- */

#content {
 font-size: small;
 width: 640px;
 padding-bottom: 10px;
}

/*  ----- NAVIGATION -----  */

#navcontainer {
}

#navcontainer #current {
 font-size: small;
 text-decoration: none;
 background: url(images/button_over.png) repeat-x;
 font-weight: bold;
 color: #990700;
}

#navcontainer #current:hover {
}

#navcontainer .currentAncestor {
 text-decoration: none;
 background: url(images/button_over.png) repeat-x;
 font-weight: bold;
}

#navcontainer ul{
 width: 130px;
 margin: 0;
 padding: 0;
 list-style-type: none;
}

#navcontainer li {
}

#navcontainer a {
 font-size: small;
 display: block;
 text-decoration: none;
 background: url(images/button_normal.png) repeat-x;
 border-bottom: 1px solid #c3c3c3;
 padding: 5px;
 font-weight: bold;
 height: 15px;
 color: #21536a;
}

#navcontainer a:hover {
 background: url(images/button_over.png) repeat-x;
}

  1. Hab meine seite http://www.bnrails.com wie vorgeschlagen geändert, nur hab ich jetzt das problem dass im IE6 und 7 die zeile unter der ersten grafik "falsch" dargestellt wird. Vielleicht könnte mir wer einen tip geben wie ich das auch im IE hinbekomme.

    wenn du die grafik als hintergrundbild des links einbindest, solltest du dein problem los sein - der "header" ist offenbar ein designelement und kein inhalt, darum sollte auch das bild nicht mit <img /> eingebunden werden

    html text:

    nachdem du die url zu deiner Seite ohnehin gepostet hast, spar dir das bitte ;)

    1. hab jetzt mal den text geändert (richtig hoffe ich doch?), aber wenn ich am windowsrechner meiner freundin das unter dem IE betrachte, hat sich da nix getan.

      Wo sieht man bei windows welche IE version installiert ist?

      1. Wo sieht man bei windows welche IE version installiert ist?

        help > about
        ? > about

        1. Ok, IE 6.0

          Danke, aber jetzt hab ich noch immer das problem mit dem nach rechts rausschauenden text.

  2. Ohne mehr als oberflächlich drüberzuschauen, würde ich Dir empfehlen, den
    floats im CSS ein position:relative; mitzugeben - alles andere behandelt der
    MSIE meist sehr ungnädig...

    Gruß, LX

    1. Ohne mehr als oberflächlich drüberzuschauen, würde ich Dir empfehlen, den
      floats im CSS ein position:relative; mitzugeben - alles andere behandelt der
      MSIE meist sehr ungnädig...

      kann ich nicht nachvollziehen - relativ ohne x/y hat ansich keinen unterschied zu static - bitte um erklärung