I need some help. I would like to make to these two divs, participation
and benefits
, sit side by side each other horizontally, but I can only edit the CSS code. Here's what I have so far:
.supporting {
padding: 150px;
margin-bottom: 40px;
margin-right: 10px;
}
.participation {
margin: 10px 0px 0px 0px;
width: 400px;
height: 400px;
background-color: lightgray;
padding: 30px;
position: relative;
}
#zen-participation {
clear: both;
float: left;
padding-left: 30px;
padding-top: 10px;
}
.benefits {
margin: 10px 0px 0px 0px;
padding: 30px;
background-color: lightcoral;
background-repeat: no-repeat;
position: relative;
width: 80%;
}
#zen-benefits {
clear: both;
float: right;
width: 30%;
padding-left: 30px;
padding-top: 50px;
}
<div class="main supporting" id="zen-supporting" role="main">
<div class="participation" id="zen-participation" role="article">
<h3>Participation</h3>
<p>Strong visual design has always been our focus.....</p>
</div>
<div class="benefits" id="zen-benefits" role="article">
<h3>Benefits</h3>
<p>Why participate? ...</p>
</div>
</div>