www.webdeveloper.com
Results 1 to 5 of 5

Thread: How to make a background cover the entire page of myspace?

  1. #1
    Join Date
    Mar 2006
    Posts
    36

    How to make a background cover the entire page of myspace?

    I was wondering if anyone can help me do this, make a background cover the entire myspace page. a good example would be seen here: http://www.myspace.com/hocicoh

    anyone have an idea how they did that? by the way the real image is small, they somehow made it larger... and to cover the entire page. Thanks!

  2. #2
    Join Date
    Jun 2003
    Location
    here
    Posts
    4,551
    Well, that's actually a bad example, it's a huge image.
    CSS:
    Code:
    #myBackground{
      z-index: -3000;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0; right: 0; /* these two fix the good browser, the last two lines will work somewhat on IE */
      height: 100%;
      width: 100%;
    }
    HTML Code:
    <img src='MyImage.png' id='myBackground'>

  3. #3
    Join Date
    Mar 2006
    Posts
    36
    but since i can't store images on myspace how do I go about getting the img to show up? (as a background) im using photobucket i just don't know where to put the html:

    <img src='MyImage.png' id='myBackground'>
    i tried alot of various things all it will do is either make my background blank or put the bg image in a section of myspace as a image ha.

  4. #4
    Join Date
    Mar 2006
    Posts
    36
    ahhhh! figured it out. it was photobucket not allowing a large enough image. (in my case)

    i uploaded a giant pic to my domain and bam it covers the entire myspace page background with no scrolling its beautiful!

  5. #5
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,143
    can't use # signs and ID's for myspace. classes only!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles