Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Purple Border on Links

Go to End

2 Posts   1451 Views


Community Member, 121 Posts

3 May 2010 at 7:06pm

I manually placed links on my and have images on them.

It's kinda like this:
<a href="link"><img src="sourceimage" /></a>

In Chrome and Safari, it looks ok but in IE and Firefox there is this blue and purple border around them. I don't understand why. Is it in the CSS?

An image showing the screenie is attached.

Attached Files

Community Member, 141 Posts

3 May 2010 at 10:00pm


Add this to your stylesheet:

a img { border: none; }

This will remove the blue border from all images that are used as links.

Hope this works,
cheers Christian