ASP.Net MVC Page Styling

I've got a css file that i want to use to style my ASP.Net MVC web application.

I've included it in the solution however it doesn't seem to be taking any effect.

Have I missed something?

Answers


Have you added a reference to it in the html or aspx page.

A reference must be added in the <head> element of your document:

<link rel="stylesheet" type="text/css" media="all" href="../../Content/niceforms-default.css" />

Is this what you are asking, or did I take your question too literal?


Need Your Help

Storing website content: database or file?

database storage

I'm building a website, and I'm planning to publish various kinds of posts, like tutorials, articles, etc. I'm going to manage it with php, but when it comes to storing the content of each post, th...

How can I use typeahead.js with bootstrap 3?

twitter-bootstrap-3 typeahead

I am putting together a prototype application for a demonstration, and am using Twitter Bootstrap 3 (http://getbootstrap.com - specifically version 3.1.1). I would like to use typeahead.js (http://