hallo,
ich habe folgendes problem:
der platz für meine postings ist recht begrenzt, und ich möchte den text als blocksatz angezeigt bekommen.
meine index.php sieht folgendermaßen aus:
PHP
<?php get_header(); ?>
<div id="content">
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class="post">
<h3 class="storytitle" id="post-<?php the_ID(); ?>">[url="<?php the_permalink() ?>"]"><?php the_title("-image-"); ?>[/url]</h3>
<div class="storycontent">
<?php the_content(); ?>
</div>
<div class="meta"> [ <?php the_author(); ?> | <?php the_category(' , '); ?> | <?php the_time('Md / y'); ?> ][ <?php comments_popup_link(__('NONE'), __('One'), __('%Com')); ?> ] <span class="feedback"> <?php wp_link_pages(); ?> </span>
<?php edit_post_link('edit'); ?></div>
<!--
<?php trackback_rdf(); ?>
-->
<?php comments_template(); ?>
</div>
<?php endforeach; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<div id="rotator">[img]http://localhost/wp/wp-content/themes/AA/rotate_img/rotator.php[/img]</div>
<?php get_footer(); ?>
Alles anzeigen
leider wird jetzt der text des postings über die gesamte breite des <content> elements angezeigt, ich hätte aber gerne dass es innerhalb der "grenzen" des <storycontent> elementes bleibt, bzw. innerhalb des <post> elements.
wie bekomme ich das hin? mein padding-right ignoriert er geflissentlich :twisted: .
vielen dank,
spacefrog