Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

border of textbox

 
Sophia Choi
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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%
Thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic