Can anyone tell me why?
Works on all of my WP sites but not on my main site?Code:<div align="center"> video goes here </div>
Main site first in sig.
Thanks in Advance
in most cases the DTD is declated in header.php file
I wouldn't suggest changing the DTD because then the rest of the template might not look the same duo to the compatibility changes in DTDsCode:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
So the best solution would be a few lines of CSS and if you need help with that then let me know
Maybe this would work?:
<div style="margin: 0 auto; width:400px;">Video</div>
I didn't test it but it is based on how I center the page content on a site.
Last edited by Andy101; 30 September, 2009 at 13:14 PM. Reason: probably needs the width set explicitly
Sami4u (30 September, 2009)