View Single Post
Old 01-02-2003, 09:51 PM  
X37375787
Guest
 
Posts: n/a
Urgent question for css/html gurus

I would like to set custom attibutes for a textarea on my AVS.

Ya know, something like this:

<form name="form1" method="post" action="">
<textarea name="textarea" cols="60" rows="5" readonly="readonly" >fuckoff and die, you stupid textbox...</textarea>
</form>


Now, can I define a CSS class to be used for it, that would define background color, type of font to be used, fontsize, maybe even scrollbar colors ... or can I only do that in HTML, and if yes, how.

Thanks


P.S. I have tried to define a class called .textarea which looked like this:

.textarea {
background-color: #C1CCDE;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #000000;

}


and defined the class to be used for the textarea above, but it didn't work...
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote