Vertical align floated elements of unknown height
问题 I want to create a header with two columns, one for the "brand name" and one for buttons, such as login, sign up etc. However I can't wrap my head around how to vertical center them inside the header, because the buttons are much taller than the brand name. I also already stumbled across this question, however the solution suggested there did not resolve my issue. What I have got so far: header { border: 1px dotted magenta; } header:after { content: ""; display: table; clear: both; } #left {