ASP.NET MVC 2 Project.
I want the links to the view vertically aligned. Should I add br or \n something?
Thanks.
<div class="links">
<%=Html.ActionLink("Home", "Index", "Home") %>
<%=Html.ActionLink("About", "About", "Home") %>
</div>
For instance.
<div class="links">
<br />
<br />
<%=Html.ActionLink("Home", "Index", "Home") %>
<br />
<br />
<%=Html.ActionLink("About", "About", "Home") %>
</div>
Using what you have right now you could apply some CSS:
This would put each link on its own line.