How to Make a movie Trailer looking webpage

Discussion in 'HTML & Website Design' started by cheece2001, May 25, 2009.

  1. #1
    I'm thinking of making a movie trailer looking site witch is only gona have one youtube video on the page. I'm new to hmtl and all. How would i go about making a page where it will have one image on the screen with a youtube video embeded in the very centre of the image or wherever i want it to appear in the image without anything being deformed if the user has different resolutions.

    Is there a way to crop a section of the image i inserted in dreameaver and still a youtube video in there so it fits perfectly with the proper dimensions? Also, the image thats gona have the video embeded in it has to be centered on the page.

    Does anyone know how to do this? I'm just guessing that i insert an image and stick an video in it. I don't know if i should do this or make that image a background or something.
     
    cheece2001, May 25, 2009 IP
  2. AlexGrim

    AlexGrim Guest

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could start with using a fixed width div, with a left and right margin of "auto", assign the image as its background, set its text-align to "center", set equal padding for the top, bottom, left, and right, and then insert the video player's code within the div.
     
    AlexGrim, May 26, 2009 IP
  3. cheece2001

    cheece2001 Guest

    Messages:
    519
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    before you got posted that mesag, I was able to spend hours on it and kinda got it to look how I want it to look just by fooling around with the tables.
     
    cheece2001, May 26, 2009 IP
  4. copspushmongo

    copspushmongo Peon

    Messages:
    118
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ahhh tables are not good for a page layout. Try switching the page to divs
     
    copspushmongo, May 26, 2009 IP
  5. cheece2001

    cheece2001 Guest

    Messages:
    519
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well its just a simple page with a picture and a video in it... would it matter too much? But i will look into this div stuff.
     
    cheece2001, May 26, 2009 IP
  6. cheece2001

    cheece2001 Guest

    Messages:
    519
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    the thing is i want the player to on a certain part of teh image. I made the image have a white spot where i want the image to be and i want to put the video in that white spot. I inserted a div and its like a table looking thing. how am i suposed to play with that so i have the video in that one spot. also when i insert the image as background it left justifies. i think i might just stay with what i have with the tables.
     
    cheece2001, May 26, 2009 IP