How to Center Embedded YouTube Videos in WordPress
November 26, 2009 | In: Computers, Internet, Web Design
One of the common question I get from novice WordPress users is how does one center embedded YouTube Videos in WordPress. Here’s how.
While you can, technically, use the Visual editor to adjust the alignment, the best way, in my opinion is to use the HTML editor and use some good old HTML tags.
All you have to do is to sandwich the embed code (any embed code for that matter) with these tags:
<p style="text-align:center;">[Embed code here]</p>
This would center the video like what you’d see below:
Related posts:

1 Response to How to Center Embedded YouTube Videos in WordPress
Steveo
February 10th, 2010 at 2:52 am
Thanks for the tip, came in handy!