For SP2010, how do you remove the ugly blue border from images that have a link on them? I've tried adding style="border:0" on the anchor tag but to no avail. Thanks.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
|||
|
|
You need to apply the style to the IMG, not the HREF. This will show the blue border (at least in IE and Firefox, Chrome doesn't)
Neither of these will, first using the 'old style' border attribute
Next using inline styles
And using CSS to take off the border for all images
|
|||||||||||||
|
|
Your styling the wrong element, you need to style the links. http://www.w3schools.com/css/css_pseudo_classes.asp You can view styles applied by using the IE Developer tool, FireBug in Firefox, or Chrome developer tool. Good blogs to keep bookmarked: |
|||||||
|