Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is site.css specified?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587781
Message ID:
01587892
Vues:
33
>>In the ASP.NET Web forms project there is a master page (Site.Master). But I don't see anywhere in this file reference to site.css. Even though I know that site.css is being used. Where is this site.css specified/set? TIA
>
>It is in Site master.
>Just check Head section of Site,.Master.
>
>< head  id="Head1" runat="server">
>  < link href="~/Styles/Site.css" rel="stylesheet" type="text/css" / >
>...
>< /head >
>
I wish this were as obvious; because I checked the head section first. Actually in the VS2012 ASP.NET Web forms they have the following line in the head of site.master:
 <webopt:BundleReference runat="server" Path="~/Content/css" />  
This is how they (VS) load all CSS.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform