Wednesday, May 20, 2009

Using Blueprint CSS in ASP.NET MVC

I know my previous post on the blog is incomplete but I promise to get back to that complete as soon as possible. In the meantime, here is a quick info on how to include Blueprint CSS files within ASP.NET MVC applications. I add this to my Site.Master page.

   1: <link href="<%=Url.Content("~/Content/Site.css") %>" rel="stylesheet" type="text/css" />


   2:     <!-- Framework CSS -->


   3:     <link rel="stylesheet" href="<%= Url.Content("~/Content/blueprint/screen.css")%>"


   4:         type="text/css" media="screen, projection">


   5:     <link rel="stylesheet" href="<%= Url.Content("~/Content/blueprint/print.css")%>"


   6:         type="text/css" media="print">


   7:     <%="<!--[if IE]>"%>


   8:     <link rel="stylesheet" href="<%= Url.Content("~/Content/blueprint/ie.css")%>" type="text/css"


   9:         media="screen, projection">


  10:     <%="<![endif]—>"%>





More later..

No comments: