Css No Color For A Div

I am trying to create a nav bar. I want the background color of the nav to be a certain color. It is not changing color.
HTML:

<div id='nav'>
		<img src='parkerverrandog.jpg' id='logo'>
		<h3 id='name'>Parker Verran</h3>
		<div id='links'>
			<a href='index.html'>Home</a>
			<a href='about.html'>About</a>
			<a href='projects.html'>Projects</a>
			<a href='contact.html'>Contact</a>
			<a href='quiz.html'>Quiz</a>
		</div>
	</div>

CSS:

#nav {
	display: inline;
	margin: 0px;
	margin-top: 10px;
	font-family: 'Poppins', sans-serif;
	background-color: #6eeeee;
}

#links {
	margin: auto;
	position: absolute;
	right: 50px;
	top: 40px;
}

#nav a {
	float: right;
	margin: auto;
	padding: 10px;
}

#name {
	text-align: center;
	font-size: 40px;
	margin-top: 20px;
}

if you want the background to show across the whole nav then this line of code is blocking it. Remove it and have a look.

Read here: