Log in

View Full Version : Text_area



benslayton
06-08-2006, 06:45 PM
how do I change the background on a text area. I thiught DD had a script for this but couldnt find it.

TeeGee
06-09-2006, 06:30 AM
You mean a form test area? Like this:


<form>
<textarea style="background-color: #cc6600" name="textarea"></textarea>
</form>

djr33
06-09-2006, 06:31 AM
You could do the same with CSS. Use the code from above, basically.

benslayton
06-09-2006, 03:40 PM
Eh, that doesnt work out right. I guess since i'm using the WYSIWYG editor, it works differently. Know how to change that.:)

benslayton
06-09-2006, 04:08 PM
Never mind found a different solution. But thanks.;)

djr33
06-09-2006, 08:21 PM
Yeah, that already has code in the css that the editor uses. change it there; seems like you found that though.

benslayton
06-10-2006, 01:51 AM
No actually I didnt. I just went into Dreamweaver and added, the text color as white, instead of none. So when I submit black text that has A black background it shows up as white, Or the color I specify (eg: blue, green, red....) you get the point dont you?

Oh and this was for the comment board that I redone.:)

boxxertrumps
06-14-2006, 10:57 PM
what about the size of the text area? make it longer/shorter.
what tag would that be?

djr33
06-15-2006, 12:00 AM
dunno if it's in css, but that should be easy enough to find.

In the tag, I believe its:
<textarea rows="50" columns="10">
Or, it's
<textarea rowspan="50" colspan="10">

I can't remember. Just try those.