Goober
Goober

Reputation: 13506

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?

Upvotes: 1

Views: 1092

Answers (1)

Chuck Conway
Chuck Conway

Reputation: 16435

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?

Upvotes: 3

Related Questions