Title: centering a posts&#8217; content without getting validation errors?
Last modified: August 18, 2016

---

# centering a posts’ content without getting validation errors?

 *  [flush](https://wordpress.org/support/users/flush/)
 * (@flush)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/centering-a-posts-content-without-getting-validation-errors/)
 * Hi,
    I have rich editor turned off and I tried to center a video in my post using`
   <center></center>` but it makes 3 errors in the validator. So what’s the correct
   way to center content?

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/centering-a-posts-content-without-getting-validation-errors/#post-442974)
 * Using CSS.
 * [http://www.timvansas.nl/bookmarks/](http://www.timvansas.nl/bookmarks/)
 * Read.
 *  Thread Starter [flush](https://wordpress.org/support/users/flush/)
 * (@flush)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/centering-a-posts-content-without-getting-validation-errors/#post-442976)
 * Thanks, I’m not sure what I should be looking at..
    But I want to center the 
   content of 1 post only, not of all posts. Does css apply also in this case?
 *  Thread Starter [flush](https://wordpress.org/support/users/flush/)
 * (@flush)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/centering-a-posts-content-without-getting-validation-errors/#post-442982)
 * Ok I understand what you meant, I can’t just wrap the content with <center>, 
   I have to do it from within the css of the content.
    Now I must figure out what
   I must put in here to center this video. `<div style="margin-bottom: 25px; margin-
   top: 25px; text-align: left; width: 320px"><iframe src="http://www.dailymotion.
   com/blog/video/69213?key=5lri5uvvf2jc9lp8d4o6jie9ebbplijf8r1e1pu7" style="width:
   320px;height:256px;border:none;margin:0px;" width="320" height="256" frameborder
   ="0" marginwidth="0" marginheight="0" scrolling="no" id="i5lri5uvvf2jc9lp8d4o6jie9ebbplijf8r1e1pu7"
   >Dailymotion blogged video</iframe> <span style="margin-top:0px;"><a href="http://
   www.dailymotion.com/video/x1hel_emilie-simon-fleur-de-saison">Emilie Simon - 
   Fleur de Saison</a></span></div>
 * Ok, I think align=center has something to do with it, but I mustn’t be placing
   it where it should.

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

The topic ‘centering a posts’ content without getting validation errors?’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [flush](https://wordpress.org/support/users/flush/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/centering-a-posts-content-without-getting-validation-errors/#post-442982)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
