The following code on a remote web server renders an "invisible" textbox as expected. However the same code on localhost still shows the textbox borders. There are no other stylesheets coming into play (that I am aware of) - and !important
has no effect.
<input type="text" style="color:White; border:none; width:1px;" />
I found this discussion which suggests using instead border-left: none
, border-right: none
etc. This works!! But I'm still posting here because I don't understand why. The page on the server is identical, and being viewed on the same browser (IE8).
Any thoughts?