I'm trying to get 3 separate elements float left center and right. The main container wrapping the 3 is using the following:
.container {
display: inline-block;
margin: 0 auto;
}
The 3 elements are using the following:
.left {
float: left
}
.center {
display: inline-block;
margin: 0 auto;
}
.right {
float: right;
}
I was able to successfully distribute these left, center, and right but the height of each are different and now they aren't vertically aligned. I've tried using the "vertical-align" property but it doesn't seem to work. What should I do?