Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Center a Video on Wordpress

  1. #11
    Quote Originally Posted by MikeDVB View Post
    Makes me feel silly, it's been a while since I've messed with HTML/CSS

    You are being too shielded from code by your WYSIWYG editors and dreamweaver.
    Submit new proxies -

  2. #12
    Quote Originally Posted by Keldorn View Post
    You are being too shielded from code by your WYSIWYG editors and dreamweaver.
    Nah, these days I just pay people to deal with such things... I tend to deal with the coding itself (PHP, Perl, etc)
    Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
    LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
    Incremental R1Soft CDP Backups on all services! Proudly hosting over 3,800 domains!
    http://www.mddhosting.com/ - New and improved VPS plans!

  3. #13
    Quote Originally Posted by MikeDVB View Post
    I tend to deal with the coding itself (PHP, Perl, etc)
    Hi,

    Maybe someday I'll get that advanced Right now I am still working on the simple stuff.

    I'm just like a two year old when it comes to this stuff. With lots of Why's?

    Butterflies Forever

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

  4. #14
    Quote Originally Posted by Sami4u View Post
    Hi,

    Maybe someday I'll get that advanced Right now I am still working on the simple stuff.

    I'm just like a two year old when it comes to this stuff. With lots of Why's?

    Butterflies Forever

    Sami
    You have to start somewhere! I was at that point once although it has been quite some time
    Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
    LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
    Incremental R1Soft CDP Backups on all services! Proudly hosting over 3,800 domains!
    http://www.mddhosting.com/ - New and improved VPS plans!

  5. #15

    Smile

    align attribute is not recommended.

    wrap your video in a two divs.

    Div #1 has the class "vid-box"
    Div #2 has the class "vid-wrap"

    HTML
    Code:
    <div class="vid-box">
      <div class="vid-wrap">
            <!--video code here-->
      </div>
    </div>
    CSS
    Code:
    .vid-box {text-align:center; width:99%;}
    .vid-wrap {margin:0 auto; text-align:left;}

  6. #16
    Quote Originally Posted by Aziz View Post
    align attribute is not recommended.

    wrap your video in a two divs.

    Div #1 has the class "vid-box"
    Div #2 has the class "vid-wrap"

    HTML
    Code:
    <div class="vid-box">
      <div class="vid-wrap">
            <!--video code here-->
      </div>
    </div>
    CSS
    Code:
    .vid-box {text-align:center; width:99%;}
    .vid-wrap {margin:0 auto; text-align:left;}
    Isn't that over-complicating it a bit or is this to make it better for cross-browser compatibility.
    Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
    LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
    Incremental R1Soft CDP Backups on all services! Proudly hosting over 3,800 domains!
    http://www.mddhosting.com/ - New and improved VPS plans!

  7. #17
    Quote Originally Posted by MikeDVB View Post
    Isn't that over-complicating it a bit or is this to make it better for cross-browser compatibility.
    this is for cross-browser compatibility, specially for IE

  8. #18
    Quote Originally Posted by dmi View Post
    Code:
    <div align="center">
    video goes here
    </div>
    Even better,

    just use:

    <center>VIDEO EMBED CODE</center>

  9. #19

    Exclamation

    Quote Originally Posted by chrisfletcher View Post
    even better,

    just use:

    <center>video embed code</center>
    warning: deprecated tag. No longer w3 valid for standard xhtml doctypes

  10. #20
    I laugh when I see a template using <center>. That is defiantly 1999 style, Who uses that anymore! Well Apparently only newbie webmasters.

    Something I can't understand is that <b></b> is deprecated and they recommend <strong>?
    <b> is a lot faster to type. I would rather keep using <b>.
    Submit new proxies -

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Entertainment Center
    By Fenrir in forum General Chat
    Replies: 0
    Last Post: 10 May, 2010, 17:48 PM
  2. Can't Center a Form (PHP/HTML/CSS)
    By vectro in forum Web Design
    Replies: 3
    Last Post: 8 February, 2010, 21:50 PM
  3. Bing Webmaster Center !!
    By WebEvader in forum Search Engine News
    Replies: 6
    Last Post: 9 October, 2009, 23:02 PM
  4. Bing Local Listing Center
    By irahat in forum Promoting
    Replies: 0
    Last Post: 28 August, 2009, 23:39 PM
  5. Replies: 0
    Last Post: 17 January, 2009, 23:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •