title: PHP Yii way to create a link to an element ID
body: <p>I've looked around and can't seem to find a way to create an anchor tag linking to an id.</p>
  
  <p>For example, </p>
  
  <pre><code>&lt;a href='#element-id'&gt; Link to an element &lt;/a&gt;
  </code></pre>
  
  <p>As an attempt to have the page scroll to the specified element.  For whatever reason, the link is being added to the URL, but isn't moving the page.  I've tested with both the CHTML::Link method, and just a standard html  tag.  Is this a Yii thing in how it handles URLs?</p>