• Resolved girlswithguns

    (@girlswithguns)


    I’ve added image borders to my theme with:

    img {
         margin: 5px;
         padding: 10px;
         border: solid black 1px
    }

    This works fine for normal images, but images which are links e.g. to larger resolution pics, don’t display the border. What class do I need to add to the CSS to get those images (but not other links, of course) to have a border?

Viewing 1 replies (of 1 total)
  • Thread Starter girlswithguns

    (@girlswithguns)

    To follow up my own post, the answer is quite simple, but in case anyone else needs it!

    a img {
         margin: 0px;
         border: solid black 3px
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Adding border to linked images’ is closed to new replies.