Comment Box Pictures
This page contains examples of comment boxes with background pictures. Feel free to copy and paste the code for your own use.
MySpace Users: If you need a comment box for your MySpace profile, use the MySpace comment box code.
Adding a Background Picture
In this example, I've added a background image to my comment box. This is done by using the background property.
Copy the following code:
| Code | Result |
|---|---|
|
|
You can easily resize the comment box to fit your picture - just look for the width and height properties in the code.
Text Color/Size
Depending on your background image, you might need to change the color and/or size of the text so that it's readable.
In the following example, I've changed the color and size of the text. I've also changed the font to a generic "cursive" font. You'll notice that to do this, I've applied the font property and color property to the textarea tag.
Copy the following code:
| Code | Result |
|---|---|
|
|
- Choose your colors with the HTML color picker.
- To learn more about changing fonts, text color, etc, check out the CSS text section of the CSS tutorial, and the font code page.
More Comment Box Tricks!
You can also...

