1
When I’m running the application in visual studio 2010 I have no problem with boostrap CSS and javascript, but when I publish it on IIS, all Java and css are not recognized. I created a simple html page to test if it is an html formatting problem, but the problem still happens. Can anyone help me?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Starter Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="Styles/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="Styles/bootstrap-theme.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="starter-template">
<h1>
Bootstrap starter template</h1>
<p class="lead">
Use this document as a way to quickly start any new project.<br>
All you get is this text and a mostly barebones HTML document.</p>
</div>
<div class="row">
<button type="submit" class="btn btn-default">
Ok</button>
</div>
</div>
</body>
</html>
Could provide details of the error that appears in the console (network tab) of the browser, it is a little wide
– Guilherme Nascimento
the problem was the CSS MIME Type in IE. It has already been solved.
– Thiago Matossian
Thiago if it was resolved formulate a response as a solution, we are not a support forum, we are a Q&A (questions and answers), I recommend you read the Help
– Guilherme Nascimento