Hallo,
seit Stunden schlage ich mich jetzt mit einem Problem rum - ich hoffe mir kann jemand helfen.
Im InternetExplorer ist mein kompletter Content-Teil (= alles was nicht sidebar und nicht footer ist) um 3 Pixel nach rechts verschoben.
Sämtliche Beiträge sind um 13 Pixel nach unten verschoben.
Mein Code (index.php):
PHP
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="content">
<h3><?php single_cat_title(''); ?></h3>
<div class="singsep"></div>
<?php
if ($posts) {
foreach($posts as $post) { start_wp();
?>
<!--<br />-->
<div class="post">
<div class="cite"><?php the_time("l, j. F Y") ?> <?php edit_post_link("[EDITIEREN]"); ?><br /></div>
<div class="posttitle"><a class="posttitle" href="<?php the_permalink() ?>" rel="bookmark" title="Link zum Beitrag '<?php the_title(); ?>'"><?php the_title(); ?></a></div>
<!--<div class="text">--><?php the_content('Den ganzen Beitrag lesen...'); ?><!--</div>-->
<div class="cite">~ Dieser Beitrag wurde von <?php the_author_firstname(); ?> verfasst und in der Kategorie '<?php the_category(',') ?>' abgelegt.</div>
<div class="sep"></div><div class="sepdot"></div>
</div>
<?php } // closes printing entries with excluded cats ?>
<?php } else { ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php } ?>
<div class="right"><?php posts_nav_link('','','previous »') ?></div>
<div class="left"><?php posts_nav_link('','« newer ','') ?></div>
<br /><br />
<?php get_footer(); ?>
</div>
Alles anzeigen
Meine CSS (Ausschnitt):
Code
body {
background: url('images/bbg.gif');
font-family: Arial;
text-align:left;
font-size: 8pt;
margin: 0px;
padding: 0;
}
#wrapper {
position: relative;
min-height: 100%;
margin-left: 30px;
background: transparent;
}
#masthead {
background: transparent;
width: 300px;
height: 19px;
margin:0 0 30px 0;
}
#blogTitle {
position: relative;
background: url('images/head.gif') no-repeat;
width: 268px;
height: 75px;
}
#sidebar {
float: left;
width: 200px;
background: transparent;
text-align: left;
font-family: Arial;
color: #f4e6ea;
font-size: 8pt;
margin: 40px 0 0 0px;
}
#content {
width: 700px;
margin: 0 0 0 300px;
background: url('images/contbg.gif') repeat;
text-align: left;
position: relative;
padding: 0;
}
#footer {
font-size: 7pt;
font-family: Georgia;
text-transform: uppercase;
color: #fff;
width: 700px;
height: 48px;
background: url('images/foot.gif') no-repeat;
margin: 0 0 20px 300px;
text-align: center;
padding: 0px;
}
.post {
position: relative;
width: 600px;
margin-top: 14px;
background: transparent;
text-align: left;
padding-left: 60px;
background: url('images/post.gif') no-repeat;
background-position: 13px 3px;
font-family: Arial;
font-size: 9pt;
color: #FFFFFF;
}
.posttitle {
font-family: Georgia;
font-size: 17pt;
color: #332620;
}
.title {
font-family: 'Arial';
color: #da4358;
font-size: 8.5pt;
text-transform: uppercase;
background: url('images/star.gif') no-repeat;
padding-left: 20px;
margin: 0;
}
.title:hover {
background: url('images/star_hov.gif') no-repeat;
}
h1 {
font-family: Arial;
font-size: 9pt;
text-transform: uppercase;
font-weight: normal;
color: #da4358;
background: url('images/nav_arrow_0.gif') no-repeat 75px;
margin: 0;
}
h3 {
font-family: Georgia;
font-size: 23pt;
font-weight: normal;
color: #fff;
margin:0 0 10px 60px;
padding-top: 20px;
}
.input {
background: #f2546e;
border: none;
color: #fff;
padding: 2px;
}
h1:hover {
background: url('images/nav_arrow_1.gif') no-repeat 75px;
}
ul {
margin: 0px;
padding-left: 20px;
line-height: 160%;
}
li {
list-style-type: none;
margin: 0px;
}
.left {
float: left;
margin: 0px 10px 0px 10px;
}
.right {
float: right;
margin: 0px 10px 0px 10px;
}
.centeredImage {
text-align:center;
margin-top:10px;
margin-bottom:0px;
padding:0px;
}
.sep {
position: relative;
background: url('images/cut.gif') no-repeat;
width: 680px;
height: 18px;
margin-left: -80px;
}
.sepdot {
background: url('images/dot.gif') repeat-x;
width: 659px;
height: 1px;
margin: -10px 0 0 -37px;
position: relative;
}
.singsep {
background: url('images/dot.gif') repeat-x;
width: 680px;
height: 1px;
margin-left: 10px;
position: relative;
}
.commentBox {
position: relative;
margin: 0 auto;
width: 90%;
background-color: #f5f5f5;
text-align: left;
border: 1px solid #999;
padding: 5px;
}
.cite {
font-size: 7.5pt;
color:#332620;
margin-bottom: 5px;
}
code {
font-family: Courier New, Verdana;
text-align:left;
color:#666;
font-size: 8pt;
}
input {
border: 1px solid #333333;
background-color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #000000;
padding: 0px;
}
h2 {
color: #666;
font-size: 14px;
text-align: left;
}
blockquote, blockquote p {
text-indent: 0px;
margin-bottom: 7px;
color: #666;
}
Alles anzeigen
Danke im Voraus!