Answer the question
In order to leave comments, you need to log in
How to align an image to the vertical center of a div?
How to align an image to the vertical center of a div? The figure shows how the logo should be positioned.
<header>
<div class="header">
<div class="logo"><a href="http://www.Site.ru"><img alt="Site" src="style/img/logo.jpg"/></a> <span>Блог</span></div>
<div class="panel">
<div>Сервис</div>
<div>Логин</div>
</div>
</div>
</header>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question