admin管理员组

文章数量:1289539

So by default Wordpress include <p></p> into the content.

My view source output:

<td class="ccontent">  
<p>I would suggest choosing an easier method,<br />
This one is pretty difficult one.</p>
<p>Just a thought.</p>
</td>

On my website:

As you can see there's a weird space at the bottom.

When I include <?php the_title();?> it aligns great.

But when I include <?php the_content();?> the space appears.

I did an experiment and removed the <p> from the content (using function filter).

Then it aligns great, but the content shows in a single line (which I don't want).

So I figured that <p></p> is causing this problem.

Is there any way to fix this?

Desperatly need help.

UPDATE: Solved by removing some

code from my template style css file. Thanks for the hint, Joe!

本文标签: htmlltpgtltpgt creates an unnecessary space in content