Hi guys! First time on the forums. I'm a student learning web development and am having a rough time. The current code I have works in everything BUT GoogleChrome. No idea why and no idea how to fix it. Maybe someone could help me out??

Here is the HTML:

<div id="centernav">
<div id="menubar1">
<a href="home.html">Home</a><a href="about.html">About</a><a href="images.html">Images</a><a href="videos.html">Videos</a><a href="resume.html">Resume</a><a href="contact.html">Contact</a>
</div>
</div>

And here is the CSS in its own file:

#centernav{
width: 699px;
margin-left: auto;
margin-right: auto;
display:block;
}


Any ideas? Thanks for the help!