Change Image Border Color on Pages
-
Hi everyone!
I have created a bunch of pages with images. The images that have borders have the default color border color black. I would like to change the border colors to gray (#a4a4a4).
Is there a way to add CSS to my [child] style sheet that would change the border color on existing images and/or make gray the default color for images added in the future?
I tried adding
img {border: 1px solid #a4a4a4}
but that just added a gray border to every image on my site (woops!). I do not want every image on a page to have a border.I have successfully changed the border color to gray on one page by going into the page html and manually changing the border color. That was a pain and I’d like to avoid doing that on every page.
Example page on my site: http://www.mollyegreen.com/project-getdowntown/
Any help appreciated, thanks in advance…
- The topic ‘Change Image Border Color on Pages’ is closed to new replies.