hallo,
die seite besteht aus vier bzw. drei spalten und im oberen bereich befinden sich vier linien, die ich in die jeweilige spaltexyz.php per "hr style..." gesetzt habe. von safari und firefox wird das alles korrekt dargestellt. der internet explorer stellt die linien allerdings falsch dar und lässt sie treppenartig auf- und und wieder absteigen.
woran kann das liegen? ich versuche seit einer woche den fehler zu finden und habe inzwischen aufgegeben. eventuell kommt der ie nicht mit "float: left" klar...?
dies ist die seite:
dies der home.php code, also die zusammenstellung der verschiedenen spalten-php-dateien:
PHP
<?php include('header.php'); ?>
<body id="starter">
<div id="hintergrund">
<?php include('kopf.php'); ?>
<div id="seite">
<?php include('l-sidebarhome.php'); ?>
<div id="inhalte">
<?php include('1-spalter.php'); ?>
</div>
<?php include('r-sidebar.php'); ?>
</div>
</body>
</html>
Alles anzeigen
dies ist der entscheidende teil der style.css:
Code
#starter #hintergrund {
background : #FFFFFF url();
width : 820px;
text-align : left;
margin : 0 auto;
}
#single #hintergrund {
background : #FFFFFF url();
width : 900px;
text-align : left;
margin : 0 auto;
}
#kopf {
width : 900px;
background : #FFFFFF url("images/kopf_01.png") no-repeat;
}
#kopf2 {
width : 900px;
background : #FFFFFF url();
color : #fff;
}
#seite {
width : 900px;
margin : 0 4px;
}
#menulinks {
width : 146px;
float : left;
}
#inhalte {
width : 502px;
float : left;
}
#menurechts {
width : 142px;
float : left;
}
Alles anzeigen
und dies der code der mittleren spalte inkl. der linien:
PHP
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<hr style="width:133px; color:#222; background-color:#222; height:10px; text-align:left; margin-top:-10px; margin-left:-20px;">
<hr style="width:322px; color:#222; background-color:#222; height:10px; text-align:left; margin-top:-10px; margin-left:140px;">
<p class="postmetadata">
<a="<? echo get_day_link(date('Y', strtotime($post->post_date)), date('m', strtotime($post->post_date)), date('d', strtotime($post->post_date))); ?>" title="Posts For <? the_time('d.m.Y'); ?>"><? the_time('d.m.Y'); ?></a>
</p>
<h2><a class="postHeading" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content('Weiterlesen »'); ?>
</div>
<hr class="teiler" />
</div>
<?php endwhile; ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
Alles anzeigen