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='http://twitter.com/TwitterID; ?>'><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.

Resource


    CSS Howto..

    how to make an interactive uploader like gmail and facebook have?

    How to set height of my web page in html5

    How to centre a javascript element using inline css? [closed]

    how can i change the following cs into one CSS CLASS

    How to Change Font-family using JQuery's .css() function?

    How to change css class according to the name attribute of a parent

    How to make div scroll down with a page once it reaches top of page?

    How to use bootstrap grid system overlaying a map

    how to remove the last li::after for first line in specific width of an div

    How to use a background image in Webfolio WordPress theme without breaking CSS header?

    How to assign custom CSS class to arbitrary arbitrary rows of h:dataTable?

    How to ensure broswer does not cache my JS/CSS [duplicate]

    How to insert the number into the bottom right of each page by TWIG and CSS

    How do I prevent this list from moving across the page?

    How to achieve this view?

    How to perform arithmetic operations in CSS?

    show image in aspect ratio and all image size same height and width

    How to animate all except one feature with CSS

    How do I install SASS with Mean.io?

    How to have different table styles in CSS

    How to offset div columns in CSS grid system

    How to change table width using css

    How to create a variable from CSS class attribute?

    How can I automatically highlight a specific character in link text using JQuery + CSS?

    How to align
  • to the top when higher items are hidden via CSS
  • How to format a title attribute with css (setting more width)?

    How to fix the shadow on my menu, Fiddle example shown

    How do I create an animation of scrolling text with just HTML and CSS (or java i guess) like apple used to have on their livepage?

    How to save user's choice of theme of web pages

    How can I keep my CSS transform (rotate & skew origin) from moving a few pixels to the right?