Collectives on Stack Overflow. Learn more. Asked 11 years, 5 months ago. Active 10 years, 10 months ago. Viewed 47k times. Is there any better way to define.
Add a comment. Active Oldest Votes. EndangeredMassa EndangeredMassa You may need to customize properties of the link tag, especially the media property if you want to include styles spefifically for screen or printing. There are two basic ways of doing this, and my preferred method is the first of the two. Use Styles. RenderFormat to render links to the bundle with a custom format.
Url , this is my preferred means of customizing the tag used when adding a CSS bundle. Note: Styles. Url always forces bundling and minification, even in dev, and even with BundleTable. See more details below. The debug property in the compilation tag in Web.
Ask Question. Asked 10 years, 11 months ago. Active 9 months ago. Viewed k times. Add a comment. Active Oldest Votes. MrBoJangles Darin Dimitrov Darin Dimitrov k gold badges silver badges bronze badges. You know, on second thought, that's not so bad.
I think it's just new and different. Sam, it means that there's no such section defined in your Layout. DarinDimitrov Is there a way to render at the exact position instead of at the end of the header. I would like to keep a specific order for the css priorities.
Marc It's rendered on a place, where you call RenderSection surprisingly : , not at the end of the header. Show 1 more comment. There isn't a better way, although I would name the section "Head". Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
Linked 1. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings.
0コメント