I have created a nav bar, but resizing and using on different screen lengths always throws it off... How do I create a nav bar that'll span the width of the page on any screen without moving around anywhere, thanks =)
HTML:
    <title>Earthquakes In Blenheim</title>
    <link rel="shortcut icon" type="image/x-icon" href="wav.png">
    <link rel=stylesheet href="stylesheet.css" type="text/css">
    <center> <img src="EARTHQUAKES THAT SURROUND US.png" style="width:360px"> </center>
</head>
<body bgcolor="gray">
        <nav>
            <li> <a href="http://www.geonet.org.nz/quakes/felt"> Current Earthquakes </a> </li>
            <li> <a href="http://www.dropcoverholdon.org/"> Drop! Cover! Hold On! </a> </li>
            <li> <a href="https://www.google.com.au/maps/place/Blenheim,+New+Zealand/@-41.5290857,173.932808,13z/data=!3m1!4b1!4m2!3m1!1s0x6d390e0080e269bd:0x0a00ef88e796a530"> Location of Blenheim </a> </li>
            <li> <a href="#"> About Us </a> </li>
            <li> <a href="bibliography.html"> Bibliography </a> </li>
        </nav>
<img src="img1.png" width="100%">
<p><center>
    paragraph
</center></p>
<img src="img2.png" width="100%">
<p><center>
paragraph 2
</center></p>
<img src="img3.png" width="100%">
<p> <center>
Parapgraph 3
</center></p>
CSS:
 h1 {
    font-family: Arial;
    font-size: 50px;
    font-weight: bold;
color: black;
text-align: ;
width: 100%;
float: center;
margin: 0 0 0 0;
padding: 0;
list-style: none;
}
body {
    color: white;
    font-family: Arial;
    font-size: 20px;
    margin: 0 0 0 0;
    max-width: 100%;
    }
/* Navigation Bar Styling */
nav {
    margin: 0 0 0 0;
    font-family: Arial;
    font-size: 100%;
    }
nav li {
     float: left;
    }
nav li a {
    background-color: black;
    display: block;
    padding: 0 0;
    text-decoration: none;
    font-weight: bold;
    color: white;
    border-right: 1px solid gray;
    }
 nav li a:hover {
     color: black;
     background-color: white; 
     }
 /* Navigation Bar Styling */
I'm also somewhat new to html, so if there is anything else that I should add or change, please let me know.
 
     
     
    