In order to align two block elements I can use float left or inline-block. Is there any advantage using inline-block? Has it got a better performance when the page is rendered if I use more inline-block then float commands?
HTML
<div class="logo"></div>
<nav > .... </nav>
CSS
nav, .logo{
float: left;
}
or
nav, .logo{
display: inline-block;
}