Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2010
    Posts
    328
    Plugin Contributions
    0

    Default How to install an HTML table with YouTube video?

    How can I place an HTML table, embedded with a YouTube video, centered as the last item on the home page?

    Thank you,
    Robert
    I await your thoughtful response.
    Thank you

  2. #2
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: How to install an HTML table with YouTube video?

    You dont need a table, you tube uses an iframe in its embed code, just place it between a "center" tag

  3. #3
    Join Date
    Feb 2010
    Posts
    328
    Plugin Contributions
    0

    Default Re: How to install an HTML table with YouTube video?

    Quote Originally Posted by Donal View Post
    You dont need a table, you tube uses an iframe in its embed code, just place it between a "center" tag
    I’m using the table to add text in a separate cell, but what I can’t seem to figure out is how to place it among all this css stuff that I’m so unfamiliar with.
    I await your thoughtful response.
    Thank you

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to install an HTML table with YouTube video?

    Still, you don't need (and shouldn't use) a table for placing text or other elements on the page. Wrap the text in a div with a class tag, and possibly another div to enclose all of the content, then style those divs in your stylesheet.

  5. #5
    Join Date
    Feb 2010
    Posts
    328
    Plugin Contributions
    0

    Default Re: How to install an HTML table with YouTube video?

    Quote Originally Posted by gjh42 View Post
    Still, you don't need (and shouldn't use) a table for placing text or other elements on the page. Wrap the text in a div with a class tag, and possibly another div to enclose all of the content, then style those divs in your stylesheet.
    I’m struggling to understand exactly what you mean by styling the divs in the stylesheet.css. Would you mind providing a simple example, where YouTube = video script ??
    I await your thoughtful response.
    Thank you

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to install an HTML table with YouTube video?

    Say you put your YouTube content in the file, inside a div like this:
    Code:
    <div id="youtubeContent">
      <p class="youtubeDescription">Your text about the video.</p>
      <...your youtube content code...>
    </div>
    In your stylesheet, add rules like
    Code:
    #youtubeContent {margin: auto; text-align: center;}
    
    .youtubeDescription {color: #667722; font-size: 1.2em;}
    using whatever properties you want to set for the elements.

 

 

Similar Threads

  1. v139h How to open youtube video in light box
    By snk060 in forum General Questions
    Replies: 2
    Last Post: 13 Nov 2013, 01:41 PM
  2. How do I add a youtube video?
    By Serious in forum General Questions
    Replies: 4
    Last Post: 26 May 2013, 03:49 PM
  3. v150 Embedding Youtube Video
    By esugrue in forum General Questions
    Replies: 2
    Last Post: 9 Sep 2012, 09:04 AM
  4. Embed YouTube Video?
    By rdcast in forum General Questions
    Replies: 14
    Last Post: 31 Mar 2010, 10:54 AM
  5. YouTube Video in Side Box
    By rooisnor in forum General Questions
    Replies: 1
    Last Post: 11 Dec 2008, 08:59 PM

Posting Permissions

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