How do I vertically center an img and an h1 in a div? Right now I have a png and an h1 in a header but the content is automatically in the top left. How do I put it in the middle and keep it responsive? Here's my HTML:
header {
text-align: center;
max-height:680px;
}
<header>
<h1 id="title">Lorem Ipsum</h1>
<img id="arrows" src="images/arrows.png">
<h3 id="sub-title">Lorem ipsum</h3>
</header>
edit: Sorry I should have mentioned that the header has a specific height. How do I put the text and image right in the middle of the header, both vertically and horizontally?