<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
ul {
width: 100%;
display: table;
table-layout: fixed;
border-collapse: collapse;
}
li {
display: table-cell;
text-align: center;
border: 1px solid pink;
vertical-align: middle;
}
</style>
</head>
<body>
<ul>
<li>foo<br>foo
</li>
<li>barbarbarbarbar</li>
<li>baz</li>
</ul>
</body>
</html>