CODE
<div id="header">
<div id="logo"><img src="logo.png"></div>
<div id="caption">The Caption</div>
</div>
<div id="logo"><img src="logo.png"></div>
<div id="caption">The Caption</div>
</div>
and the following CSS:
CODE
#header {
margin-left: 10px;
margin-right: 10px;
padding: 0px 0px 0px 0px;
border: thin solid black;
}
#header #logo {
width: 145px;
float: left;
}
#header #caption {
height: 50px;
text-align: center;
font-size: 14pt;
font-weight: bold;
font-style: italic;
}
margin-left: 10px;
margin-right: 10px;
padding: 0px 0px 0px 0px;
border: thin solid black;
}
#header #logo {
width: 145px;
float: left;
}
#header #caption {
height: 50px;
text-align: center;
font-size: 14pt;
font-weight: bold;
font-style: italic;
}
How do I get #caption to be vertically aligned in the middle of #header?
