Hi,

When I click on a textbox, teaxtarea etc. the border turns into a different color (orange, blue) in Chrome, Linux and in some others. How do prevent it with css?

Thanks

Recommended Answers

The only thing I can think of would be to try an set the focus from the input. Try adding the following code to your css file and see if that works.

input:focus{
outline: none;
}
Jump to Post

All 3 Replies

The only thing I can think of would be to try an set the focus from the input. Try adding the following code to your css file and see if that works.

input:focus{
outline: none;
}

outline: none;

Solved. Thanks

Be a part of the DaniWeb community

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