Difference between revisions of "Change MySpace Background"
Jump to navigation
Jump to search
(reverted edits by Timmy 479@hotmail.com - They do not seem to make any sense) |
(→Changing the Color: removed quotes) |
||
Line 8: | Line 8: | ||
<style> | <style> | ||
body{ | body{ | ||
− | background-color: | + | background-color: Color; |
} | } | ||
</style> | </style> | ||
</pre> | </pre> | ||
− | Where "Color" is any standard html RGB value | + | Where "Color" is any standard html RGB value |
− | |||
=== RGB Color Picker === | === RGB Color Picker === |
Revision as of 13:53, 10 October 2006
MySpace Customizing is mainly done through Cascading Style Sheets (CSS) this tutorial explains How to Change the Background of your MySpace Page
Contents
Changing the Color
To change the background to any color you have to use the following code in your profile:
<style> body{ background-color: Color; } </style>
Where "Color" is any standard html RGB value
RGB Color Picker
<flash>file=OTColorpicker.swf|width=600|height=300</flash>
Changing the Background Image
To change the background to an image is similar, just use the following code:
<style> body{ background-image:url("URL"); } </style>
Where "URL" is the location if the image to be used.
Optional Background Image settings
background-attachment:"VALUE";
Value | Description |
scroll | The background image moves when the rest of the page scrolls |
fixed | The background image does not move when the rest of the page scrolls. |
background-repeat:"VALUE";
Value | Description |
repeat | The background image will be repeated vertically and horizontally |
repeat-x | The background image will be repeated horizontally |
repeat-y | The background image will be repeated vertically |
no-repeat | The background-image will be displayed only once |
background-position: "VALUE";
Value | Description |
top left top center top right center left center center center right bottom left bottom center bottom right |
If you only specify one keyword, the second value will be "center". |
x-% y-% | The first value is the horizontal position and the second value is the vertical. The top left corner is 0% 0%. The right bottom corner is 100% 100%. If you only specify one value, the other value will be 50%. |
x-pos y-pos | The first value is the horizontal position and the second value is the vertical. The top left corner is 0 0. Units can be pixels (0px 0px) or any other CSS units. If you only specify one value, the other value will be 50%. You can mix % and positions. |
Example
<style> body{ background-image:url(http://www.crashlanding.us/photos/albums/wpw-20051116/Crash_Landing_Logo_1024x768.jpg); background-attachment:fixed; background-repeat:no-repeat; background-position: center center; background-color: #000000; } </style>
This effect can be seen at www.myspace.com/hapa01