That br
does not really make a difference there. What you need is not a line-break.
You have to specify -webkit-box-orient: vertical;
. It's default value is horizontal
, that is why you see this result.
Warning
Actually you are using an outdated feature, which was later replaced by flex
.
You should not use display: box
.
flex
is currently a W3C Candidate Recommendation, and is stable, so you should use that one instead. Every current browser has support for it.
Using flex
you could do this:
#main{
display: flex;
flex-direction: column-reverse;
}