I’m trying to make the image (inside <div class="card">
) to float to the left of the text, so heres what I have so far
<p>
<div class="card float-left" style="margin-right:10px">
<div class="card-body">
<img src="images/users/e87daccd5e0842bd357ebfde50dd3ab5ee71ea4bcc31d0a81a12f49c91bf8b50.jpg" alt="Thumbnail" class="img-fluid img-thumbnail" style="width:300px;margin-bottom:10px">
<h6 class="text-secondary"><i class="fa fa-phone" aria-hidden="true"></i> (619) 942-6938</h6>
<h6 class="text-primary"><i class="fa fa-at" aria-hidden="true"></i> lurtnowski@gmail.com</h6>
</div>
</div>
I like tu...
</p>
but it doesnt work
What is the correct way to do this (I didn’t think a
<div>
is allowed inside a <p>
)