Adding a MySpace Background Image, Default Behaviour

 

The default behaviour for a MySpace background image is to tile.

This means the image you choose as a background will start in the upper left corner of the browser window and will repeat itself, both to the right and down, forever. I say forever because in reality the "canvas" which the MySpace background is placed on is infinite; only the size of the browser window that determines the viewed size of the canvas. This will be an important point to remember when working with other methods of adding a MySpace background image.

The code for adding a MySpace background image is almost as simple as the code for a MySpace background color. Before you put the following code into your MySpace "About Me" box in your "Edit Profile" area you first have to get or create an image and put it somewhere on the Internet (see where does a MySpace background image live). Here's a sample piece of code that puts an image named coolercode_logo.gif which lives at the Internet address http://www.coolercode.com/ in the folder path images/. Place the following code in your "About Me" edit box:


<style type="text/css">

body {
   background-image:url(http://www.coolercode.com/images/coolercode_logo.gif);
}
</style>
 
Back
Home | MySpace Codes | MySpace Layouts | MySpace Generators | MySpace Graphics | MySpace Tutorials | MySpace Cursors | MySpace Videos