Entry
Can I remove the border of a text field/text area?
Mar 25th, 2000 16:40
Martin Honnen,
With IE4+ and NN6 you can use css
border: 0px solid white;
to achieve that, NN4 does ignore those settings.
Complete example:
<HTML>
<HEAD>
<STYLE>
.javascript {
border: 0px solid white;
background-color: orange;
color: white;
}
</STYLE>
</HEAD>
<BODY>
<FORM NAME="formName">
<INPUT TYPE="text" SIZE="20" NAME="aField"
VALUE="JavaScript.FAQTs.com"
CLASS="javascript"
>
<BR>
<TEXTAREA NAME="aTextArea" ROWS="5" COLS="20" WRAP="soft"
CLASS="javascript">
JavaScript.FAQTs.com
</TEXTAREA>
</FORM>
</BODY>
</HTML>