I have problem with text area where, after loading a page which contains TEXT AREA, the text area auto tab in the field.

Its looks ugly because I have put a watermark on the field to lets user know what is text area for.

The css:

textarea
{
font-size:12px;
width:500px;
height:120px;
resize: none; /* disable textarea resize */
font-family:Arial, Helvetica, sans-serif; /* change font of textarea */
border-color:#FF0000;
border:#000000 solid 1px;
-moz-box-shadow: 0px 0px 2px #000; /* shadow outside box */
-webkit-box-shadow: 0px 0px 2px #000; /* shadow outside box */
margin-bottom:5px;
}

How to clear up the text area after loading so, the tab is dissappear?

Um, without the rest of the code (as in the form this goes to or an on-line page to look at) we can't do much to help. The CSS only describes the textarea box.

sorry, problem solved. need to delete this thread..
stupid question..
admin please

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.