Wordpress 如何在帖子之间设置间距

Wordpress 如何在帖子之间设置间距,wordpress,post,space,Wordpress,Post,Space,有人能帮我吗?这是我的密码,我似乎无法在帖子之间找到空格,谢谢 我试着在帖子的底部加上填充物和边距,因为这会起作用,但仍然没有帮助 以及wordpress索引文件 <?php get_header(); ?> <?php get_sidebar(); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class=

有人能帮我吗?这是我的密码,我似乎无法在帖子之间找到空格,谢谢

我试着在帖子的底部加上填充物和边距,因为这会起作用,但仍然没有帮助

以及wordpress索引文件

<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php if (have_posts()) : ?>        
<?php while (have_posts()) : the_post(); ?>

<div class="post">
    <div class="info1">
      <div class="date"><div class="date"><br />

    <div class="date-month"><?php the_time('M'); ?></div>
    <div class="date-day"><?php the_time('d'); ?></div>
</div></div>
      <div class="title">     <div align="center"><?php the_title(); ?> <br />
    </div></div>
    </div>


    <div class="post-content"><?php the_content('Continue lendo &raquo;'); ?> </div>
<div class="post-stuff"><div align="center"><div class="tag"> posted in:  <?php the_tags('', ', '); ?> - <?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments'),'Commentslink', __('Comments are closed')); ?> </div></div> 
  <?php endwhile; ?><?php else : ?><?php endif; ?>
</div>
<?php get_footer(); ?>



张贴于:
首先,有一个输入错误:margini,删除i

下面是我对索引文件的建议。这将正确渲染div:

<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="post">
    <div class="info1">
        <div class="date"><br />
            <div class="date-month"><?php the_time('M'); ?></div>
            <div class="date-day"><?php the_time('d'); ?></div>
        </div>
    </div>
    <div class="title">
        <div align="center"><?php the_title(); ?> <br /></div>
    </div>

    <div class="post-content"><?php the_content('Continue lendo &raquo;'); ?></div>
    <div class="post-stuff">
        <div align="center">
            <div class="tag"> posted in:  <?php the_tags('', ', '); ?> - <?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments'),'Commentslink', __('Comments are closed')); ?> </div>
        </div>
    </div>
</div>

<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>

<?php get_footer(); ?>



张贴于:
在构建您的示例(在Safari(MacOS)上有正确的边距)之后,我认为您可能在IE上遇到了“正在崩溃的div”问题?我加入了我的原因,我试图玩的页脚,最终放弃了通过。关于我想要它的日期,这就是我为什么这样做的原因。我想从头开始我试过chrome和firefox,在firefox上我成功了,但在chrome上什么都做不了。我想作为第一个开始,删除第二个div类日期。在DOM树中,我可以看到第二篇文章嵌套在第一篇文章中。这不是你想要的。不幸的是,我的名声还不允许我发布照片。所以我无法直观地显示它。尝试了它,使我的帖子转到我的帖子标题。必须把它放回原处
<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

<div class="post">
    <div class="info1">
        <div class="date"><br />
            <div class="date-month"><?php the_time('M'); ?></div>
            <div class="date-day"><?php the_time('d'); ?></div>
        </div>
    </div>
    <div class="title">
        <div align="center"><?php the_title(); ?> <br /></div>
    </div>

    <div class="post-content"><?php the_content('Continue lendo &raquo;'); ?></div>
    <div class="post-stuff">
        <div align="center">
            <div class="tag"> posted in:  <?php the_tags('', ', '); ?> - <?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments'),'Commentslink', __('Comments are closed')); ?> </div>
        </div>
    </div>
</div>

<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>

<?php get_footer(); ?>