content tag is adding a <p> that I can’t get rid of
-
The <content> tag is adding a <p> to my code, screwing up my design. How do I get rid of the thing?
Here’s my code:
<td align=center" valign=middle><?php the_content(__('(more...)')); ?></td>
(it’s in a table)Here’s out it comes out:
<td align=center" valign=middle><p><img src="https://blablabla" class="aligncenter /></p></td>
So despite my center-aligned table cell, and my css inside the image tag, the content is still coming out on the default left side! Is a “p” included in the
<?php the_content>
tag automatically?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘content tag is adding a <p> that I can’t get rid of’ is closed to new replies.