Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Purple Border on Links

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

Page: 1
Go to End
Author Topic: 1150 Views
  • animasola
    Avatar
    Community Member
    121 Posts

    Purple Border on Links Link to this post

    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
  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: Purple Border on Links Link to this post

    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

    1150 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.