PDA

View Full Version : Paragraphs and divs...



Hitman
04-10-2009, 09:39 AM
Hi, I'm creating a wordpress theme and it's going fairly well. I've fixed most issues I've encountered, but now I am stuck.

On the show single post page (single.php) it shows the content of the post (the_content()) and this content is surrounded by a <p> and a </p> tag. This is causing my div to break... It becomes taller due to the tags, and for some reason it stops expanding in the middle, but the bottom of the div expands. If I put some text at the bottom it fixes it though...

So, I've got two options: find the_content function and remove the <p> tags, or fix the div. I need help with both... I can't find the_content function, and I'm unsure of how to fix the div issue.

Any help would be appreciated. Thanks.

Want to hide these adverts? Register an account for free!