Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS: blue border in IE and Firefox only?

Tags:

css

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

like image 871
aneuryzm Avatar asked Jun 09 '10 07:06

aneuryzm


2 Answers

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

a img
{
  border:none;
}
like image 115
Sarfraz Avatar answered Oct 27 '22 03:10

Sarfraz


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;
}
like image 26
bcosynot Avatar answered Oct 27 '22 02:10

bcosynot