jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes border of textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "border of textbox" Watch "border of textbox" New topic

border of textbox

Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
Any way can I disable the border of the textbox?Any stylesheet can do this?
My form has 3 fields. exam1_i , exam2_i and mark_i.
exam1 and exam2 are input fields.
In the 'onChange' status, I pass 'this' to the a javascript function for caculating the final mark and put this mark to the input text box which is readonly.
input type="text" name="mark_%=i%" size="3" readonly="readonly" value=%=mark%
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
you can use css to get rid of the border
either set it to zero width or set it to the same color of the background.
I agree. Here's the link: http://aspose.com/file-tools
subject: border of textbox
jQuery in Action, 3rd edition