title: Literal used for variable css
body: <p>I'm using literal to implement css, so as to have the css class vary depending on the page I'm on, the css being applied to some "a" tags also.</p>
  
  <p>That bit (variable css on a tags) seems to be working for me at present for some reason, but the code breaks  the use of the <code>~/</code> within links...</p>
  
  <p>Does anyone know if there any consequences of using the below but limiting my pages to the root folder - as it does seem to be working there at least:</p>
  
  <pre><code>&lt;li&gt;
  &lt;a &lt;asp:Literal id="ClassToUse" runat="server"/&gt; id="home_link"
  href= "Default.aspx" title="Home" onfocus="this.blur();" runat="server"&gt;Home&lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>Or if it is possible to get the path from root (<code>~/</code>) working within it, so as to enable a better folder layout/hierarchy.</p>
  
  <p>I don't have an Openid and have given up on trying to sign in -  for a while.</p>