我正在为我的表单制作一个标题,我想成为表单的顶部。我希望徽标出现在左侧,标题和子标题紧挨着它。现在徽标出现了,但由于某种原因,标题略低于徽标。
HTML:
<div class= different_header>
<img src="css_images/seal2.png" />
THE PRINCE GEORGE'S COUNTY GOVERNMENT</br>
OFFICE OF ETHICS AND ACCOUNTABILITY
</div>
CSS:
.different_header{
display: block;
}
.different_header {
text-align: center;
top: 0;
}