Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In addition to topic Remove link border from around image, I was wondering if it were possible to remove all the borders around linked images on a page using the content editor web part?

I've added the content editor web part to the bottom of my page and added the following stylesheet code:

   a img {border:none}

However, the stylesheet code is not applied to the page since the borders are still around the images.

Is what I'm trying even possible?

share|improve this question
Yes this is possible... I would make sure you are doing this in the style-sheet rather than within a web-part. –  Stephen Mar 22 '13 at 9:38
You're right. I've created a stylesheet, added it to the site assets and linked to it in my content editor web part. Now it works. –  TempaC Mar 22 '13 at 10:05
I would add it into the Master page rather than the web part..refer to this post for more info..sharepoint.stackexchange.com/questions/60090/… –  Stephen Mar 22 '13 at 10:23
Stephen add your comment as an answer! –  Robert Kaucher Mar 2 '14 at 1:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.