Revje,
I think I know why Wordpress wants (needs) <p> around the content... When you have multiple paragraphs in the post content, you need them delimited from each other. I posted code from index.php and style.css below... Probably need to get control of the spacing before and/or after the content in some other way - the question is how?
-Mike
-------------------------------------
<div class="post-author">
<?php _e('By '); the_author(); ?>
</div>
<div class="post-content">
<?php the_content(__('Read the rest of this entry »')); ?>
</div>
<div class="post-metadata">
<?php _e('Posted in '); the_category(', '); ?> |
<?php edit_post_link(__('Edit'),'',' |'); ?>
<?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments')); ?>
</div>
.......................................................................
the CSS looks like:
.post-author {
font-size:8pt;
color:#003366;
background-color: #FFFFFF;
/* margin-bottom:3em; orig - removal has no effect */
margin-bottom:1em;
}
.post-content, .comment-content {
font-size:10pt;
color:#333333;
}
.post-metadata {
text-align:center; /* my addition - no effect */
font-size:8pt;
color:#003366;
background-color: #FFFFFF;
/* padding-left:3em; orig - removal has no effect*/
}
.......................................................................
The resulting code looks like:
<div class="post-author">By {username}</div>
<div class="post-content">
<p>post content paragraph1...</p>
<p>post content paragraph2...</p>
</div>
<div class="post-metadata">
Posted in ...
</div>