Due to some functional requirements, I need to create an input field but,
1. I want the input field to have no borders.
2. I want to be able to make the background color of the input field blend in with environment around it.
Is there any way to do this. Ie, can I set the input field's properties for borders and background color??
Eventually, I want there to be a field with a value in it, but the user should not know that it is an input field, with the borders absent, and the color blending in with the page.
I have NEVER seen this effect.
I imagine you could make an ActiveX control that hides the borders, but HTML is too "subject to the browser" to handle this effect.
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
Like I say try some variants, in the order in which you have the styles #. Thats the only thing I can think of.
Also bear in mind the world in ever advancing, the number of NN4 browsers (2%) is rapidly disappearing, in favour of NN6 (8%), and IE 5.x(90%) So you might be wasting slightly too much time on this??
Netscrap 4.x does not support much styling for inputs.
mmc98dl1,
Your syntax is incorrect. It is !important not important. The way you have it, it will be ingnored, and in some browsers the whole declaration will be ignored.
qvijay1,
The declarations given to you by tewald are the correct way to do what you want. It is not possibile in Netscrape 4.x
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
I imagine you could make an ActiveX control that hides the borders, but HTML is too "subject to the browser" to handle this effect.