title: selector .wrapper does not work, cannot wrap text on browser in css
body: <p>I can't seem to get the code in .wrapper{} to work. There is no change reflected on the browser. If the code in .wrapper{} works, the display on the browser should be repositioned closer to the centre.</p>
  <p>Help needed: could someone point out the error in the code and suggest possible fixes?</p>
  <pre><code>/*index.html*/
  
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset=&quot;UTF-8&quot;&gt;
          &lt;title&gt;Tutorial&lt;/title&gt;
          &lt;link rel = &quot;stylesheet&quot; href=&quot;style.css&quot;&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div class= &quot;wrapper&quot;&gt;
              &lt;nav&gt;
                  &lt;ul&gt;
                      &lt;li&gt;&lt;a href = &quot;index.html&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href = &quot;portfolio.html&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href = &quot;aboutme.html&quot;&gt;About me&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href = &quot;contact.html&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/nav&gt;
              &lt;h1&gt;Front page&lt;/h1&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <pre><code>/*style.css*/
  
  * {
      margin: 0;
      padding: 0;
  }
  
  body {
      background-color: #eeeeee;
  }
  
  .wrapper {
      margin: 0 auto;
      width: 1000px;
  }
  
  nav {
      width: 100%;
      height: 100px;
      background-color: #fff;
  }
  
  ul {
       margin-left: 0;
  }
  
  ul li {
      list-style: none;
      display: inline-block; /* changes from vertical dropdown to horizontal */
      line-height: 100px;
      
  }
  
  ul li a {
      display: block;
      text-decoration: none;
      font-size: 14px;
      font-family:Arial, Helvetica, sans-serif;
      color:indianred;
      padding: 0 20px;
  }
  
  ul li a:hover {
      
      font-family:monospace;
      color: green;
  }
  </code></pre>