Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Blue lines around images within links in IE6

Why do I get a blue line around my images when they're links in IE6?

Is there a quick CSS trick to get rid of them?

like image 596
brightmist.co.uk Avatar asked Feb 27 '23 23:02

brightmist.co.uk


1 Answers

Those are borders around the image, try adding this to your CSS file:

a img { border: 0; }

This will remove borders from all images which are hyperlinked.

like image 148
Dominic Rodger Avatar answered Mar 07 '23 23:03

Dominic Rodger