我已经能够更改整个页面的背景颜色,但我正在努力更改标题的单独背景颜色。任何帮助都是史诗般的:小提琴
HTML:
<body>
<div id="header" border="0">
<div id="header_button" alt="Ashley Lincoln Designs">
enter code here`<img src="images/logo.png" height="100px"><div>
<div id="header_button">About</div>
<div id="header_button">Newest<br>Project</div>
<div id="header_button">Archive</div>
<div id="header_button">Contact</div>
</div>
<p>Test</p>
</body>
CSS:
* {
margin: 0;
padding: 0;
background-color: #174C4F;
}
#header {
width: 100%;
height: 100px;
margin: 0;
padding: 0;
background-color: #FSE9BE;
}
#header_button {
height: 100px;
margin: 0 auto;
padding: 0;
color: #207178;
font-family: "Verdana", Verdana, sans-serif;
font-size: 20px;
text-align: center;
text-transform:uppercase;
text-indent: 0px;
display:inline-block;
background-color: #FSE9BE;
}