I would like the text in the textarea to start off grey and turn to black after text has been entered. the text wont start off grey but if i click on it then off then on again it will be grey.
HTML code
<li class="message">
<textarea name="message" id="message_input" rows="4" cols="25" maxlength="200"
onfocus="if(this.value=='Add additional information here!')
{this.value='';this.style.color='#000';}"
onblur="if(this.value=='') {
this.value='Add additional information here!';this.style.color='#999';}"
>Add additional information here!</textarea>
</li>
CSS code
li.message {
position: absolute;
top:255px;
left: 150px;
color: #999;
}
Style the textbox, not the LI