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?

  • 2
    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
  • 1
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.