[RESOLVED]How is a nav ul li hyperlink rendered

Can anyone tell me how a <nav <ul <li <hyperlink is rendered?

When I try to apply a cssclass to one of the navigation links it does not work.

Here is what I’m trying:

      <li><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Request/Request.aspx" CssClass="Demo">Free-Demo<br/> <small>Request</small></asp:HyperLink></li>
      <li><asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/PDFs/Request.pdf" Target="_blank">Brochure<br/> <small>Details</small></asp:HyperLink></li>     

This is in my css file
h1 a.Demo
    font: bold 0.66em Calibri, Arial;
    color: #4e5766;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;

Hi, I don’t think h1 is needed before a.Demo.


And you have this inside an h1 tag? Currently you are telling to use that for a.Demo only if it is found inside an h1 tag…

Leave a Reply