I have the following code:
.blueleft {
background-color: white;
width: 300px;
border: 25px #cee2e8;
padding: 25px;
margin: 40px;
float: left;
font-family: "berlin sans fb";
color: gray;
font-size: 20px;
text-align: center;
vertical-align:middle;
}
.blueright{
background-color: white;
width: 300px;
border: 25px #cee2e8;
padding: 25px;
margin: 40px;
float: right;
font-family: "berlin sans fb";
color: gray;
font-size: 20px;
text-align: center;
vertical-align:middle;
}
However I still get the box elements stacked horizontally like this:
I'm not sure what I need to do to make sure that the div boxes stack vertically, and still be able to format horizontally and centered if needed. I've been looking around but have been unable to find code that I could put into the html document.... how would I start from scratch when formatting the DIV elements in css?