MySpace background code. HTML code for inserting a background into myspace page.
 

How to insert a background onto your myspace page

example of myspace background

Having a myspace background is almost always the first modification you will make when you design your myspace layout. Your background also the first thing people will look at! A layout that is becoming very popular now is to leave your myspace completely plain and just have the background changed (like in the picture above) This makes the layout easier to navigate, and everything is set out simple and easy.

Now there are a few things you can change when it come to background, ill try my best to explain how to customize your background!

The Code:

<style>

body{background-image:url("INSERT YOUR IMAGE HERE ");
background-attachment:fixed;
background-repeat:no-repeat;
background-position:center,center;}

</style>

Ok so lets break it down..

The first line of the code is "body{background-image:url("INSERT YOUR IMAGE HERE ");"
This will tell your myspace what image you want to have as your background.

The second line is "background-attachment:fixed;"
This decides whether the background will scroll down with you as you scroll down the page, or whether it will stay fixed. If you want it to scroll delete the word 'fixed'

The third line is "background-repeat:no-repeat;"
This will make the background repeat of not. If you want it to keep repeating so that it takes up the entire background just make it say Repeat instead of no-repeat.

The final line is "background-position:center,center;}"
This line is very important and will tell your myspace were you want the background to be positioned, The first word after position: determines were the image will lie vertically. Experiment with the position by replacing the word with 'top, center or bottom'. The second word determines were the background will sit horizontally. Experiment with this also by replacing the word with 'Left, center or right'

You need to put <STYLE> before the code starts and </STYLE> after the code as well! This is the most important part! So DON'T FORGET!

For more myspace tweaks and customizations visit: MySpace tweaks

 




 

 


Sitemap | Music Tweak © 2009