元素不在一行中显示
div.header_image {
margin: 0;
padding: 0;
background-color: #333333;
overflow: auto;
width: 100%;
display: inline-block;
}
<div class="header_image">
<h1 class="site_title">Test</h1>
<a href="index.php?name=main.php">Main</a>
<a href="index.php?name=contacts.php">Contacts</a>
</div>