| You
can add color to the background and text of a textarea box.
An example of a textarea box with a colored background and colored
text.
Here is the CSS code
for a colored textarea box with colored text.
<form>
<textarea cols="48" rows="3"
style="background-color: #e6e6fa; color: #9400d3; font-weight:
bold; font-size: 12pt;">
This is sure to spice up your textarea boxes.
Change the colors to suit your needs and/or match your web page colors.
</textarea>
</form>
You can even add a
background image to a textarea box with colored text.
Here is the CSS code
for a textarea box with background image and colored text.
<form>
<textarea cols="48" rows="3"
style="background-image:url('filename.jpg'); color: #000000;
font-weight: bold; font-size: 12pt;">
This is sure to spice up your textarea boxes.
Change the colors to suit your needs and/or match your web page colors.
</textarea>
</form>
You can also color the
scrollbar in just your textarea box. If you have a colored scrollbar on
your web page, this will not effect that scrollbar, only the scrollbar
in the textarea box.
Here is the CSS code
for a textarea box with background image and colored text and scrollbar.
<form>
<textarea cols="48" rows="3"
style="background-image:url('filename.gif'); color: #ffffff;
font-weight: bold; font-size: 12pt; scrollbar-highlight-color: red;
scrollbar-3dlight-color: blue; scrollbar-darkshadow-color: green;
scrollbar-track-color: pink; scrollbar-face-color: tan;
scrollbar-arrow-color: yellow">
CSS codes and can a lot to your web pages. Just don't over do it, use
these codes where it will enhance. You can also add this colored
scrollbar to the textarea box with just the colored background.
</textarea>
</form>
|