I want to make a box template to put events in. Here is an example png of me editing a sites html (and looks like I want it to):

.course{
display: inline-block;
background-color: #eeeeee;
width: 100%;
}
img {
width: 15%;
height: auto;
vertical-align: middle;
float: left;
}
.course-header{
text-align: center;
position: relative;
float: right;
margin-right: z
}
.course-brief{
text-align: center;
position: relative;
float: right;
}
.course-date{
text-align: center;
position: relative;
float: right;
}
</div>
<div class="course">
<!--- should be centered :( --->
<h3 class="course-header">Course Heading</h3>
<!--- should be underneath title :( :( --->
<h5 class="course-brief">Brief description</h5>
<!--- should be on the side :[ --->
<h4 class="course-date">Date</h4>
<!--- sadness :( --->
<img src="https://media2.giphy.com/media/Ph0kgTa6RfKibF8qDT/200.gif" class="course-image"></img>
</div>
However, I can't get the text to look good (my previous problem was that the image wasn't on the side of the text, now it's that the text didnt work).
I took the event example from general assembly. Comment if you need any more information. Thanks