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, biapar, Willr, Ingo, swaiba, simon_w

Purple Border on Links


Reply

2 Posts   1163 Views

Avatar
animasola

3 May 2010 at 7:06pm Community Member, 121 Posts

I manually placed links on my Page.ss 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
Avatar
Invader_Zim

3 May 2010 at 10:00pm Community Member, 141 Posts

Hi.

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