Yahoo! Web Hosting

       davesite.com / webstation / html code tutorial / FAQ: myspace html code resources



HTML Tutorial
FAQ: Myspace HTML Code and Profile Resources


Changing your Background Graphics:
If you don't yet have any background graphics or images, try this google search:
Google
 
Web davesite.com

It's often easiest to load a background graphic or image for Myspace from your web site or another place that's holding an image for you.

Looking for a great place to store and share your photos, artwork, or backgrounds? Try Photobucket.com, the top Internet image host. Free and premium accounts available.

Already a Photobucket member? Upgrade your Photobucket account and get 5 gigabytes of storage, unmetered bandwidth, FTP uploads, longer video clips, and more!

Example Code
Image Hosting at Photobucket

For example, if your image is http://reallycreativename.com/background.jpg, add this code inside your "About Me" area in your profile:

body { background: url(http://reallycreativename.com/background.jpg); }

If you want the image to stay still, add background-attachment: fixed; so it looks like this:

body { background: url(http://reallycreativename.com/background.jpg);
        background-attachment: fixed; }

If you want the image to only repeat horizontally, add:

background-repeat: repeat-x;

If you want the image to only repeat vertically, add:

background-repeat: repeat-y;

If you want the background to not repeat at all, add:

background-repeat: no-repeat;
So, for our image located at http://www.reallycreativename.com/background.jpg, that we want to be fixed, and repeat only horizontally, we put this in our "About Me" profile box:
 <STYLE>

 body { background: url(http://reallycreativename.com/background.jpg);
        background-attachment: fixed;
        background-repeat: repeat-x;
      }

 </STYLE>
For more information on backgrounds using CSS, see Chapter 4: Backgrounds and Color in CSS: An Interactive Tutorial for Beginners.

Please also see:

Back to the Myspace HTML Codes FAQ Page

Note: I am not directly affiliated with Myspace.com, I'm just a member. Please see the Myspace Site for official Myspace information. Good Luck and Enjoy Myspace!

All trademarks are the sole property of their respective owners.

StartLogic - Affordable Webhosting Yahoo! Web Hosting

[ Back to the FAQ! | Back to the Tutorial ]
Yahoo! Web Hosting