Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!