Vertical Align a Bread Crumb using ASP.Net <asp:SiteMapPath> control
Using a "asp:SiteM开发者_运维技巧apPath" control along with Web.sitemap, I'm able to get a bread crumb navigate horizontally like this
Home > Manage People > Requirements >
Can a bread crumb navigation using a "asp:SiteMapPath" control be changed ? so that it comes vertically like this
- Home >
- Manage People >
- Requirements >
Thanks in advance, Easwar.
<ul style="list-style-type: none;">
<asp:SiteMapPath ID="SiteMapPath1" runat="server" >
<NodeTemplate>
<li>
<a href='<%# Eval("url") %>' title='<%# Eval("description") %>' >
<%# Eval("title") %>
</a>
</li>
</NodeTemplate>
</asp:SiteMapPath>
</ul>
精彩评论