Just starting out with coding and seeking assistance with a layout inquiry related to bootstrap.
I have an image and a paragraph nested within a column in an attempt to utilize the grid system in bootstrap. My goal is to have the image float to the left with the text wrapping around it and filling the width of the column on the right.
You can view the desired layout here: Layout Goal
However, my current situation has the text appearing below the image: Layout Current
I've set up a row within the main container, with two columns - one with a md-8 width (containing the image and paragraph) and another with a md-4 width serving as a space holder to maintain 2/3 width of the container.
Here is the code I used:
<section class="row">
<div class="col-md-8 background-white py-3">
<img src="/assets/ProjectImages/AboutMe300299.jpg" class="rounded float-left" alt="Me and My Fam">
<p class="float-left"> <!--need to wrap this text-->
Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio
Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio
Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio
Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio Lorem Ipsum My Bio
</p>
</div>
<div class="col-md-4">
<!--Space Holder-->
</div>
</section>
I've followed the recommendations by using the float-left class in bootstrap and including both the image and paragraph within the same column. Any suggestions on a better approach or what might be incorrect in my implementation? Thank you for any help!