• I’m making my own blog using the freshy2 theme, and I’d like all the pictures to include a 3 pixel border, followed by a 1 pixel thick rectangle outlining the image, and another 3 pixel border outside the rectangle.

    Here’s a screenshot of what I want to achieve:
    https://i33.tinypic.com/1zl83ee.jpg

Viewing 1 replies (of 1 total)
  • Add this to your css file

    img {padding:3px; border: 1px solid #000; margin:3px;}

    That will put the border around every image on your site, if you want to only do it with certain images then you will need to assign a class to them, and swap “img” in my example for the class name.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding border and lines around images’ is closed to new replies.