I have a menu where the logo of the site is positioned as follows:
html:
<a href="#">
<img src="layout/img/logo.png" class="logo" />
</a>
css:
header div a img.logo{
top:50%;
transform:translateY(-50%);
position:relative;
float:left;
}
However, this way of positioning it does not work correctly in all browsers, and before I decide to use this placement method, I wanted to position it using vertical-align
. Is it possible?