I was trying to make my code side by side but it seems like the odds aren't in my favor with this. I'm having trouble with making them side by side. Here is the code that I use:
<div class="column" style="box-sizing:border-box;text-align:center;float:left;width:33.33%;padding-top:10px;padding-bottom:10px;padding-right:10px;padding-left:10px;height:300px;" > <h2 style="box-sizing:border-box;font-size:50px;color:#fa4616;" >5</h2> <p style="box-sizing:border-box;font-size:20px;color:#fa4616;" >Lorem Ipsum</p> <p style="box-sizing:border-box;font-size:20px;color:#fa4616;" >Dolor Sit Amet</p> </div> <div class="column" style="box-sizing:border-box;text-align:center;float:left;width:33.33%;padding-top:10px;padding-bottom:10px;padding-right:10px;padding-left:10px;height:300px;" > <h2 style="box-sizing:border-box;font-size:50px;color:#fa4616;" >40</h2> <p style="box-sizing:border-box;font-size:20px;color:#fa4616;" >Lorem Ipsum</p> <p style="box-sizing:border-box;font-size:20px;color:#fa4616;" >Dolor Sit Amet</p> </div> <div class="column" style="box-sizing:border-box;text-align:center;float:left;width:33.33%;padding-top:10px;padding-bottom:10px;padding-right:10px;padding-left:10px;height:300px;" > <h2 style="box-sizing:border-box;font-size:50px;color:#fa4616;" >90</h2> <p style="box-sizing:border-box;font-size:20px;color:#fa4616;" >Lorem Ipsum</p> <p style="box-sizing:border-box;font-size:20px;color:#fa4616;" >Dolor Sit Amet</p> </div> </div>
When I try it live, it only appears to be on the bottom of the number and not on the side of the text. I tried making it as a 6 column layout but it looked terrible than this one, I also tried adding a floating box but it didn't work as well.
Here is what I am trying to achieve: what I'm trying to achieve
Am I missing anything? Thanks a lot in advance.