| | |
| Level 29 | | | |
 Join Date: Oct 2007  Location: Kings Langley, England 
Posts: 1,558 | Quote:
Basic CSS Coding in MySpace
Cascading Style Sheets (CSS) is the type of coding that makes it possible to customize your profile. If you know nothing about it, below are some basic code examples and information on how to use them that can change the look of your page.
Normally, all your CSS code goes in the "About Me" section of your "Edit Profile". But you need to make sure the code is inside the <STYLE></STYLE> tags. When using CSS, open the code with <STYLE> . After that, you can add any of the below codes. When you're finished, be sure to wrap it up with the ending </STYLE> tag. Otherwise the code will be broken and won't work.
For example:
<style>
table table table td {background-color: 000000; color: FFFFFF; }
.text { font-family: arial, sans-serif; color: FFFFFF }
</style>
- Changing the Main Table Color and Text
The "background-color" is just what it means. The "color" part of the code is the color of the text.
Most likely you will have to use a hexadecimal color code for this. For instance, if you
want to use the color white, the code would be #FFFFFF . Black, on the other hand, is #000000 .
Just about every color you can think of has its own hexadecimal code on the web. However, in
CSS, the color code would normally be written without the "#" sign.
EXAMPLE: table table table td {background-color: 000000; color: FFFFFF; }
- Changing a Font
Use the code below - except after "font-family", put the name of the font you want to use, followed
by either the word "serif" (font with feet) or "sans-serif" (font without feet).
EXAMPLE: .text { font-family: arial, sans-serif; color: FFFFFF; }
- Changing the Link Color
| Just go to Www.Google.Com and search "Myspace Coding Layout Tutorial". You'll find a bunch of results. |
|
| |
| |