Hi,

when i click on a link,its showing an extra shadow after clicking on linking text.
Need suggestions.

Recommended Answers

Can you provide the URL to this site or sample code?

Jump to Post

Do you mean the yellow border? And are you getting this in Chrome only?
If so, looks like this is a default style for focused items in Chrome. To override, simply add to your stylesheet:

:focus { outline: 0; }
Jump to Post

All 5 Replies

What website is this on? Code??

Can you provide the URL to this site or sample code?

futor.com and click on login button and then close the light box.login button has some rectangular shadow

Do you mean the yellow border? And are you getting this in Chrome only?
If so, looks like this is a default style for focused items in Chrome. To override, simply add to your stylesheet:

:focus { outline: 0; }

I also took a look and it does look like if you include the style that EvolutionFallen has recommended should work. If you only want to apply it to input elements, then you would do so as:

input:focus

or for a specific selector:

#selectorID:focus

Be a part of the DaniWeb community

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