tags:

views:

102

answers:

4

hi,

I don't understand why I have this blue border around the links images in my page.

I've set outline:none border:0 but still it is there (only in Firefox and IE)... it is very strange.

http://www.alimdardesign.com/fabulicious/features.html

Thanks

+10  A: 

Because you have an image inside a link, this border comes up, try this css:

a img
{
  border:none;
}
Sarfraz
why the down vote?
Sarfraz
Because some people are retarded?
animuson
+1 - maybe cuz you were first? heh
Dan Heberden
@Dan Heberden: That's true and you are right.
Sarfraz
Sorry, I've missed. Can you edit your answer so I can dismiss down vote and set upvote?
VMAtm
@VMAtm: Sure no problem, done editing :)
Sarfraz
A: 

This is standart behaviour of images inside the a-tags

<img border="0" />

or

a img {
  border:none;
}
VMAtm
Oh wow... the `border` attribute? I majorly nostalgia'd. :P
Delan Azabani
+1  A: 

The border style should apply to the image, not the link.

Delan Azabani
+2  A: 

every linked image has a blue border around it. do fix this web designers generally use the following css

a img
{
  border : 0;
}

also try :

img
{
  border: 0;
}
vr3690