{"id":2518,"date":"2022-08-30T15:25:32","date_gmt":"2022-08-30T15:25:32","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/28\/css-not-being-applied-in-my-blank-asp-net-mvc-app-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:32","modified_gmt":"2022-08-30T15:25:32","slug":"css-not-being-applied-in-my-blank-asp-net-mvc-app-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/css-not-being-applied-in-my-blank-asp-net-mvc-app-collection-of-common-programming-errors\/","title":{"rendered":"CSS not being applied in my blank ASP.Net MVC App-Collection of common programming errors"},"content":{"rendered":"<p>Using Visual Studio, I created a blank ASP.Net MVC 2 app. I added a Site.Master page to the Views\\Shared folder. I edited the Site.css file in the Content folder to apply some styles. But at runtime the styles don&#8217;t apply. I then edited the Site.Master file to include a section within the section. Within this section I pasted in the content of my Site.css file. Then the styles show perfectly at runtime. But if I replace the section with a instead, then the styles do not show at runtime. Any advice as to what I&#8217;m missing?<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-28 10:02:59. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Using Visual Studio, I created a blank ASP.Net MVC 2 app. I added a Site.Master page to the Views\\Shared folder. I edited the Site.css file in the Content folder to apply some styles. But at runtime the styles don&#8217;t apply. I then edited the Site.Master file to include a section within the section. Within this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2518","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2518"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2518\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}