I seem to be overlooking something obvious here, so my apologies in advance. I have the following HTML code and I am trying to use a CSS rule to add a border around the "third-content-wrapper" class. However, the border is only applied to the text and not around the images as I had anticipated. Any ideas on what I might be missing? I could work around this issue by adding a paragraph after the images, but I would prefer to avoid that if possible. Thanks, Alex
<div class="third-content">
<div class="third-content-wrapper">
<h2> Interests </h2>
<p> I enjoy staying active by running, circuit training, and going to the gym. I also love playing tennis, badminton, and table tennis. In addition, I play guitar and have a passion for landscape painting, having studied art at A-Level and GCSE.
<div id="images-interests">
<a href="images/badminton.jpg"> <img src="images/badminton.jpg"> </a>
<a href="images/guitar.jpg"> <img src="images/guitar.jpg"> </a>
<a href="images/tennis.jpg"> <img src="images/tennis.jpg"> </a>
<a href="images/painting1.jpg"> <img src="images/painting1.jpg"> </a>
</p>
</div>
</div>
</div>
.third-content-wrapper{
border: solid 2px rgba(211,211,211,0.7);
padding: 10px 30px;
}