MySpace Comment Box Color

This page provides examples of colored MySpace comment boxes.

To use this code, copy, then paste it into your MySpace profile (under "Edit Profile"). For more detailed instructions, see MySpace comment box code.

Changing the Background Color Only

In this example, I've changed the background color of my comment box. This is done using the CSS background-color property.

Copy the following code:

Result:


Choose your colors with the HTML color picker.

Changing the Button Color

In this example, I've also changed the color of the buttons. This is done using the CSS background-color property (for the button color) and the CSS color property (for the text on the buttons). The buttons are defined using the HTML input tag.

Copy the following code:

Result:


Text Color/Size

Here, I've changed the color and size of the text. I've also changed the font to a generic "cursive" font. This is done by applying the font property and color property to the textarea tag.

Copy the following code:

Result:


To learn more about changing fonts, text color, etc, check out the CSS text section of the CSS tutorial, and the font code page.

Scrollbar Color

Here, I've changed the color of the scrollbar. To do this, I use the 'scrollbar-base-color' property.

Note that this won't work on all browsers. It should work on Internet Explorer version 5.5 and above, but at the time of writing, it doesn't work in Firefox. So, if you're viewing this page with Firefox, the above scrollbar won't have changed color. More about about colored scrollbars:

Copy the following code:

Result: