img is a stubborn global declaration
First for what you have you can reduce it to the following
I would eliminate the global border and apply it to the images that you want it applied toCode:a img { padding: 0.5em; border:1px solid #c5a481; margin-bottom: 10px; }



