Strange comment problem. Very confused!
-
Hi everybody.
This is my first post here, i’ve been designing websites for a while, i’m comfortable with HTML & CSS but very new to WordPress.
I have a strange problem with the way WordPress is displaying my comments over at https://www.fluffypig.com.
If you look at the 2nd comment for the first post (10 Mac OSX Apps) you will see what I mean.
The first paragraph is small and the others the correct size. Upon checking the source you will see that only the 2nd and 3rd paragraphs are wrapped in <p> tags whereas the first is in a mystery <div style=””>.
I have no idea where this div comes from. My code in comments.php is simply
<div class=”comment-body”>
<?php comment_text() ?>
</div>I have also tried wrapping <p> around the comment_text but get the same problem.
The strangest part is that this only seems to happen when I post myself.. as the first comment is fine.
If anybody has any idea where this strange div is coming from and why I would greatly appreciate your help.
If you require any further information please let me know.
Thanks,
Shaun
- The topic ‘Strange comment problem. Very confused!’ is closed to new replies.