Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts

    Embed my video into the div

    Hi,

    I can't get my video to be inside the content div. It overlaps outside of it. Any ideas?

    http://hometownedit.com/portfolio2.html

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by masterofollies View Post
    Hi,

    I can't get my video to be inside the content div. It overlaps outside of it. Any ideas?

    http://hometownedit.com/portfolio2.html
    It actually is contained properly, but your background image for #content is only 275px tall. The bg image ends before the #content div does because the content/padding is greater than 275px. You just need to create a taller bg image (try one about 600px high to be safe for most future use), but to save bandwidth and shorten page load time make it only 1px or 2px wide, then repeat it along the x-axis. Then just swap that image for your current one and you should be good to go.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • Users who have thanked Rowsdower! for this post:

    masterofollies (05-28-2009)

  • #3
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    Excellent it works now. I did 500px X 5px. Thank you

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Quote Originally Posted by masterofollies View Post
    Excellent it works now. I did 500px X 5px. Thank you
    Which is what I've already told you in another thread...
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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