format the post content
-
i want the first image in a post to be centered above the text of the post and i can’t do this because wordpress encloses the whole post in a
so the whole thing gets like this:
<img src="">texttexttext....text
So if i write in the css that the div holding the post is text-align:center it centers both the image and the text. i only want the text to be justified which i seem not to be able to do. I would like to get an easier solution than the one i found which hapends to be playing with the apply_filters() function which seems to place the paragraph tags in the post.
can u give me some advice?the second problem is that the above formatting of the post causes IE6 not to show the image at all i don’t know why.
thanks.
- The topic ‘format the post content’ is closed to new replies.