Learn CSS

Today i realized that i should be good in CSS also instead of just writing code in server side languages. That’s y i created this post to make a centralized resource of all the css tutorials available on internet.

Remove Dotted Outlines From Buttons or links

Many of us have seen that in Firefox a dotted outline appears around buttons or links, when they becomes active . It looks more bad when we are using a background image, so we don’t like them and want to get rid of that.

here is the solutions:

For Links you can add a class like this: a {outline:none;}

For Buttons you have to add this : onFocus=”this.blur();”

They works perfectly without any side effect.