Hi opt4,
if you want to use the scripts, stylesheets etc. on your whole site then you should use the Site.Master pattern, There you can reference it all from the common content-folder like this:
1 <head runat="server">
2 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
3 <title>My Sample MVC Application</title>
4 <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
5 </head>
For images in your template you can use the HTML.Helpers provided with MVC 2. This would look likes this:
1 <%=Html.Image(“~/Images/bigwave.jpg”) %><br />
2
3 <%=Html.Image(“~/Images/bigwave.jpg”, “myWave”, new { width = “30px” })%><br />Hope this helps.
Regards Johannes
(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)
Best Regards,
Johannes
http://www.itecon.de
http://dotnet.johanneshiemer.de