Premium Directory :: PR4Submit Your Link
Lamrod.org :: Best Product Review and Price Comparison SiteOne LD :: PR1 Directory
Hi,
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
Sami
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 CSSand 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 12:14 PM. Reason: probably needs the width set explicitly
My forum signature is under construction.
Sami4u (30 September, 2009)
Bookmarks