Hnry Cn
Hnry Cn

Reputation: 39

How to remove the border around the anchor?

When I go to a anchor (ID) I get a border around the section. How can I remove this border?

this is the border

Upvotes: 1

Views: 571

Answers (3)

Parth Prajapati
Parth Prajapati

Reputation: 11

{
 outline:none;
}

This is based on browser. Chrome gave the border instead of Firefox so if you are using Chrome then u have to write this code in your CSS file.

Upvotes: 0

Jrey
Jrey

Reputation: 1638

to remove border you can use border: none; in css.

Upvotes: 0

Shivangi
Shivangi

Reputation: 3062

you can remove the same by just writing

{ outline: none; } 

in your css

Upvotes: 1

Related Questions