Title: format the post content
Last modified: August 18, 2016

---

# format the post content

 *  [da_silva](https://wordpress.org/support/users/da_silva/)
 * (@da_silva)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/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.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [da_silva](https://wordpress.org/support/users/da_silva/)
 * (@da_silva)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/format-the-post-content/#post-456331)
 * 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?
 *  [garus](https://wordpress.org/support/users/garus/)
 * (@garus)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/format-the-post-content/#post-456443)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [garus](https://wordpress.org/support/users/garus/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/format-the-post-content/#post-456443)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
