That's a scenario that traditionally CSS hasn't been very good at. You would either have to use fixed height like ni9ht_5ta1k3r says, or get funky with tables. But these days you can use flexbox alignment, making this easy as! Chuck the following code into a html file to see it in action.

That's a scenario that traditionally CSS hasn't been very good at. You would either have to use fixed height like ni9ht_5ta1k3r says, or get funky with tables. But these days you can use flexbox alignment, making this easy as! Chuck the following code into a html file to see it in action.