I am trying to put an image in a div and vertically align to the middle so it follows the previous div. It goes like this
HTML
<div id="navigation">Navigation</div>
<div id="header"><img src="link"/></div>
<div id="content">content</div>
CSS
#header {
height: 150px;
width: 760px;
background: red;
}
What line of code would I need in order to make this happen? Whenever I put the image, it stays in the bottom of the div. I want to raise the image so it goes to the top. There is no css code for aligning to the top. Just left and right.