How to remove border from appearing around the image?

Tags: css

Problem :

I'm not sure if this is even a border, but I'm trying so hard to find out why is this appearing around the image when I use CSS Sprites on the middle image?

enter image description here

I did tried to set border = 0

#twitter-big {background-position: -0px -503px; width:32px; height:32px; border:0px;}

<a href='; ?>'><img class="sprites1" id="twitter-big"/></a>

can this somehow coming from the a tag? or what it is really and how to fix that?

Solution :

It is called outline rather than border. You can set the anchor's outline property to none to remove it.


    CSS Howto..

    How to stylize left part of input range in Metro Apps?

    How to prevent Ajax overflow/server crash? (Arduino/ESP8266 Environment)

    How can I stay organized when writing CSS? [duplicate]

    show div and execute CSS animation in separate div on “li hover”

    How do I make a Javascript alert display only once, ever? [closed]

    How can I reposition a DIV with jQuery? [closed]

    Multiple css styles applied to one element, how to force one style over the other

    How to magnify images on hover using purely css? [closed]

    CSS Image size, how to fill, not stretch?

    How do I fit text into footer margins

    How to make css border like this? [closed]

    How to create a speech bubble with css only

    How can I add text to a jQuery slider control?

    How to select a group of elements after every nth-element in CSS?

    How to replace HTML text with images using CSS content cross browser

    How to position the whole site? css positioning problem [closed]

    How to Keep element absolute at their location bootstrap 3

    How to edit the CSS of a selector in Polymer 1.0

    How to vertically center links in a menu?

    How to fade background images (from CSS) in and out with jquery

    How do I make this CSS work to have semi-transparent border?

    How to transform an image in SVG (or CSS) into a non-parallelogram shape?

    How do I properly reference files in subdirectories (in xampp) for PHP, CSS, etc. on localhost?

    How to apply CSS to dynamically generated PHP database results

    How to add an anchor tag to a block of html?

    multiple CSS classes, how they work and WHY do it this way? [duplicate]

    How to write Safari(5) specific CSS?

    How is the “travel mode” menu in Google Maps implemented?

    How to combine this css?

    How to get the table (datatable) left aligned?