Seit heute läuft mein neues, eigenes Theme auf blogpartei, es funktioniert in meinem Firefox (2+3) einwandfrei, im Internet Explorer (5+7) jedoch zerhackts mir das Layout.
Und zwar zeigt er den Container mit den eigentlichen Beiträgen erst nach der Abarbeitung meiner Sidebar an. Die Sidebar ist an ihrer richtigen Stelle, die Beiträge vertikal gesehen auch, aber horizontal eben erst unter der Sidebar.
Das selbe passiert vice versa, wenn ich get_sidebar unterhalb des Loops in der index positioniere.
Ich bin schon etwas hilflos, ich finde einfach nicht, woran es liegt, vielleicht könnt ihr mir helfen?
Vielen Dank schon mal für die Mühe!
CSS-Auszug
PHP
body{
background: #1c0c01 url(images/bg_png.png) repeat;
color:#c1a045;
font-size: 12px;
text-decoration: none;
font-family: Helvetica, sans-serif;
margin: 0;
}
.wrapper {
margin: 0 auto;
width: 900px;
}
.content {
float: left;
width: 450px;
padding: 0 50px 0 0;
}
.seite {
float: left;
width: 650px;
margin: 0;
}
.entry {
line-height: 1.5;
}
.spalte {
width: 175px;
}
.head {
background: url(images/bck.png) no-repeat;
width: 900px;
margin: 0;
height: 170px;
}
.sidebar{
float: right;
padding: 0 0 0 50px;
width: 175px;
}
.footer {
width: 900px;
clear: both;
margin: 10px 0px 10px 0px;
padding: 50px 0px 0px 0px;
}
...
.clearer {
clear: both;
}
.left {
float: left;
}
.right {
float: right;
}
Alles anzeigen
Index-Auszug
PHP
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div class="wrapper">
<div class="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<span class="left"><h1><a id="post-<?php the_ID(); ?>" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1></span>
...
<?php else : ?><h3>Nicht gefunden</h3>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
</div>
<?php include (TEMPLATEPATH . "/spalte.php"); ?>
</div>
<?php get_footer(); ?>
Alles anzeigen
Sidebar-Auszug
PHP
<!--sidebar.php-->
<div class="wrapper">
<div class="sidebar">
<?php if (function_exists('get_recent_comments')) { ?>
<h1><?php _e('Neu kommentiert:'); ?></h1>
<ul><?php get_recent_comments(); ?></ul>
<?php } ?>
<br>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<br><span class="sma"><span class="rssdown"><img src="http://www.blogpartei.de//wp-content/themes/Blank/images/rss_icon.png" alt="rss"></span> <a href="http://www.blogpartei.de/feed/">Beitrags-Feed</a>
<br>
<span class="rssdown"><img src="http://www.blogpartei.de//wp-content/themes/Blank/images/rss_icon.png" alt="rss"></span> <a href="http://www.blogpartei.de/comments/feed/">Kommentar-Feed</a>
</span>
</div></div>
Alles anzeigen
Spalte.php-Auszug
PHP
<!--spalte.php-->
<div id="spalte">
<?php { query_posts('cat=3&showposts=3'); } ?>
<br>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"></a>
<p><?php the_excerpt(); ?></p>
<?php endwhile; ?>
</div>
<!--Ende Spalte-->
Alles anzeigen