0

I am looking to split my css into sections with my asp.net web pages project. I have a layout css file that is linked in the _siteLayout.cshtml file that covers all the css related to the layout but not anything in the @renderBody()

What I would like to do is have one css file per partial page. As an example for the default.cshtml file I would like it to have its own css file. Is this possible?

1 Answer 1

1

Maybe my structuring of the question was wrong, but this answer is what I was looking for.

Webmatrix Layout -- Inserting into head?

Sign up to request clarification or add additional context in comments.

1 Comment

Yes, this is how I achieved the same result. Thanks for spreading it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.