I'm learning to program an application based on MVC4 and Bootstrap. Right at the beginning of the project I came across a puzzle:
In _Layout.cshtml I had <link href="css/bootstrap.css" rel="stylesheet">
, Bootstrap worked fine in view ( Home/BootSchool
) and in the other did not format HTML (% ). After some research I solved my problem using Student/AllStudents
.
Will it have something to do with the redirect? In the source code of the page, the link is the same in both modes and clicking on it is correctly redirected to the Bootstrap CSS.