Hallo allerseits.
ich bin neu bei wp, und bin auch css am lernen, dachte ich mach mal was eigenes. bekommes aber nicht ganz hin.
also ich möchte die seite so haben, gemäss bild:
[Blockierte Grafik: http://www.fotos-hochladen.net/uploads/csstest4erlctowa2.jpg]
mein header sieht so aus.
Code
#header
{
width: 885px; height: 200x; padding: 10px;
background-repeat:no-repeat;
background-color: #a7cb56;
}
Alles anzeigen
footer:
Code
#footer
{ clear: both;
width: auto height: 200px; padding: 20px;
background-image:url(strich.png);
background-color:#a7cb56;
}
Alles anzeigen
main, sidebar und wrapper so:
Code
#wrapper {width: 850px; margin: auto; text-align: left; background: #fff;}
#main {width: 600px; padding: 20px; float: left;}
#sidebar {width: 200px; padding: 10px; padding-top: 20px; float: left;}
und mein index file
PHP
<?php get_header(); ?>
<div id="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('« Ältere Einträge') ?> | <?php previous_posts_link('Neuere Einträge »') ?></p>
<?php endif; ?>
</div><!-- main -->
<div id="sidebar">
<?php get_sidebar(); ?>
</div><!-- sidebar -->
<?php get_footer(); ?>
Alles anzeigen
header und footer sollen ja 885px sein, der weisse bereich wo der content ist sollte nur 600px sein, ich bekomme es nicht hin dass der weisse bereich kleiner ist als der header und footer, any ideas?