I have tried making a container with 3 divs to make three boxes line up horizontally. The center box doesn't align at the top and bottom with the left box and the third box is far below the first two. I researched a bit about this but the changes I tried to make didn't change this.
Thank you so much!
Link that shows photo of final page and the issue that I am having
Html code:
<div class="container">
<div class="left">
<p>
Tarata Community Engagement
</p>
<a href="http://www.onlythebridge.com/?page_id=28" class="tarata" target="_blank"><img src="tarata.jpg" width="400" height="267" alt="Tarata Community Engagement Project" /></a></div>
<div class="center">
<p>
Santa Rosa Community Engagement
</p>
<img src="santa-rosa.jpg" width="400" height="267" alt="Santa Rosa Community Engagement Project" />
</div>
<div class="right">
<p>
Our histories are unique. The places that we root ourselves, the communities that we are part of, and the ways those relationships change over time are both personal and shared experiences.
<br><br>
What place/s are meaningful to you? Why? <br>
What are your roots? What do they mean to you in your life?<br>
How do you carry meaningful places and your roots with you? <br>
What is home to you? <br>
Have you left any places or communities behind, what's that like?
</p></div>
</div>
Styling code in xhtml doc:
.container {
width:100%;
height:100%;
text-align:left;
}
.left {
float: left;
margin-left:100px;
max-width: 300px;
}
.center {
float: center;
margin-left: 650px;
max-width: 300px;
}
.right {
float: right;
margin-right: 100px;
max-width: 410px;
}