ASP.NET MVC - Do stylesheets have to go in the Site.Master file?
Posted
by Darcy
on Stack Overflow
See other posts from Stack Overflow
or by Darcy
Published on 2010-05-12T17:35:27Z
Indexed on
2010/05/12
17:44 UTC
Read the original article
Hit count: 291
Hi all,
I noticed that I cannot add stylesheets on any page. They must be added to the master page.
I already have about 15 stylesheets in the master view, which seems like overkill, since only some of the pages use a certain stylesheet.
I imagine I could reference the file via javascript (although, I can't think of how off the top of my head), but it would be really nice to not have to use any.
© Stack Overflow or respective owner