I notice that in some browsers, on some OSs, a field in a form gets a colored border. Is there any way to use CSS3, or possibly a JavaScript, to change the border color (as one can change the text highlight color on a given HTML page using CSS3)?

Recommended Answers

All 2 Replies

I think you are referring to a border around text boxes while using certain browsers? If so, apply this CSS:

input:focus {outline:none;}

ok you want the border to change and the input to have a diffrent color or the text to have a diffrent color?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.