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.
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.
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.
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.
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.