box with border underneath a responsive image
I'll try to word this question as best I can. I have a responsive image and directly underneath it (no gaps) is another box that text goes in. I want a border around that box. I've figured out the border part but the border doesn't line up with the image, it is larger. I think it's something simple but I've looked at all the max-width etc... and tried them to no avail. If you need further explanation feel free to ask. Thank you.
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="row">
<div class="col-lg-12"><img src="images/drpocket.jpg" alt="" width="570" height="260" class="center-block img-responsive"/></div>
<div class="col-lg-12 border-top-0">
<p class="text-center text-title-box"> Bayside Community Hospital </p>
<p class="text-center"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="row">
<div class="col-lg-12"><img src="images/Stethoscope pic.jpg" alt="" width="570" height="260" class="center-block img-responsive"/></div>
<div class="col-lg-12 border-top-0">
<p class="text-center text-title-box">Medical Clinics </p>
<p class="text-center"> Aenean sollicitudin velit ut ante placerat, eget sodales mauris dapibus. Curabitur pulvinar congue dolor, et vulputate arcu.</p>
</div>
</div>
</div>
</div>
</div>
____________
.border-top-0 {
border: 1px solid #9F9F9F;
border-top: #FFFFFF;
max-width: 100%;
display:block;
}
