Results 1 to 2 of 2

Thread: Can someone help me with my website?

  1. #1
    CorkMan Guest

    Can someone help me with my website?

    Hey everyone I am looking to make an intro page for my website and I have a background image and a video. I made the background image like a border for my video so that when my video is in the middle of the background image it looks like it has borders going around it. I have tried to align my video with my background image but it does not workout at all so could anyone please help me out? I can get the background image centered into the page but cannot get the video in the middle of the borders and when I try to create a div class and use margins or padding neither of them work I could be doing something wrong there but I could really use the help. Anyone?

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    I assume that you have the body background centered using
    body { background: #333333 url(imagefilename.jpg) top center no-repeat fixed; } or something like that.

    Now create a div for the video code:-

    CSS style:-
    #videodiv { width: ??px; height: ??px; margin: auto; }

    Markup:-
    <div id="videodiv">
    video object and nested embed tags here
    </div>

    and the div should center horizontally in any resolution like the background image.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Website Functionality : Effective Website Design to achieve Maximum Success
    By aressindiaseo in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 18 Apr 2009, 10:39 AM
  2. Free website templates, website tools & website articles
    By webguruaish in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 27 Apr 2007, 08:09 AM
  3. Free website templates, website tools & website articles
    By webguruaish in forum Website Design Reviews
    Replies: 0
    Last Post: 27 Apr 2007, 08:07 AM

Posting Permissions

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