title: Hide HTML element by id
body: <p>Hopefully there's a quick and dirty way to remove the "Ask Question" (or hide it) from a page where I can only add CSS and Javascript:</p>
  
  <pre><code>  &lt;div class="nav" style="float: right;"&gt;
        &lt;ul&gt;
            &lt;li style="margin-right: 0px;" &gt;
                &lt;a id="nav-ask" href="/questions/ask"&gt;Ask Question&lt;/a&gt;
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>I can't hide the <code>nav</code> class because other page elements use it.</p>
  
  <p>Can I hide the link element via the <code>nav-ask</code> id?</p>