I have two div tags for my footer. I want one to be on the left of the page and one on the right. I'm using display:inline-block for both divs to be on the same line but Im not able to make them float.
<div id="footer">
<div id="phone">
<img id="pIcon" src="img/phone_icon.png" alt="Phone icon" />
<p id="pValue"> # </p>
</div>
<div id="email">
<img id="eIcon" src="img/email_icon.png" alt="Email icon" />
<p id="eValue"> # </p>
</div>
</div> <!-- end of footer -->
#footer {
width:100%;
bottom:0;
background-color:rgba(102,51,255,1);
}
#email {
background-color:rgba(255,255,0,1);}
#phone, #email {
display:inline-block;
width:45%;
}
#pIcon, #pValue {
display:inline-block;
}
#eValue, #eIcon {
display:inline-block;
}