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 apply css inside a text that is either any html control or without any html control

    How to make div position fixed without floating

    How do I get this ul li dropdown menu to show on hover with jquery or javascript?

    How do I create a 'linklist' like a tooltip with HTML and CSS or jQuery and CSS?

    How to find the highest z-index using jQuery

    How to say that you need to turn your mobile phone in javascript/css? [closed]

    Hide and show divs with multiple common classes

    How do I load / unload css changes quickly on a plone + Zope site ? (noob)

    How can I make the first letter push itself into the paragraph like a newspaper style

    Why are THs bolder than TDs and how to avoid it?

    How to add a repeating png image in the background of a webpage using CSS?

    css: how to target p a img

    How to style (increase the height) of select box in CSS?

    How to switch css property according to some condition

    How to define css selector class prefix with SASS

    How can I layout a sidebar or pullquote?

    CSS How to keep bodies of html file and included files from merging?

    How to create popups in css /Javascript?

    How to keep control-specific css with the control code (ASP.NET)

    How to use image tag in body of html instead of loading image from css?

    Why does this menu render poorly in Firefox 3.5 and IE7? How do I adapt?

    How to center a container and make webpage fit on mobile?

    How to apply CSS to HTML body element?

    How to display just part of image on hover?

    GridView Non-Visible Row Showing up in Empty Data Row

    How to Center Rotated text with CSS

    How to over ride the transparency aspect in CSS

    How to use CSS to create a dynamic corner frame?

    How to locate the element within CSS using javascript

    How to change background color of readonly textbox in css