Hallo
ich versuche gerade den hintergrund meiner Artikel zu verändern sodass er abgerundete kanten hat.
Dazu habe ich das Pic in 3 Teil aufgeteilt.
Hier meine CSS:
Code
.home-post-wrap2 { width: 593px; padding: 10px; margin-right: 13px; float: left; background-image: url(images/post-bg.gif); background-repeat: repeat-x; background-color: #FFF; border: 1px solid #EBEBEB; margin-bottom: 10px; }
.bgbot {
background: url(images/botbg.png) no-repeat bottom left;
width: 593px;
float: left;
margin-right: 13px;
padding: 10px;
}
Alles anzeigen
Meine Blogentry.php:
PHP
<div class="home-post-wrap2">
<div style="clear: both;"></div>
<!--Begin Post-->
<h2 class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','StudioBlue'), get_the_title()) ?>">
<?php the_title() ?>
</a></h2>
<?php include(TEMPLATEPATH . '/includes/postinfo.php'); ?>
<?php the_content(); ?>
<div style="clear: both; margin-bottom: 10px;"></div>
</div>
<div class="bgbot"></div>
Alles anzeigen
Und so siehts aus:
http://www.abload.de/img/picrhtn.png
Danke schonmal...