• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter da_silva

    (@da_silva)

    i don’t know why some of the words dissapeared, i’ll “translate” again the post:

    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 <p></p>
    so the whole thing gets like this:
    <p><img src="">texttexttext....text</p>

    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?

    I am having the same problem… ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘format the post content’ is closed to new replies.