I'm having an MVC project.
When executed in localhost
the fonts
is normal, however when publishing to the server they give error.
CSS
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.0.1');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.1') format('embedded-opentype'),
url('../fonts/fontawesome-webfont.woff') format('woff'),
url('../fonts/fontawesome-webfont.ttf') format('truetype'),
url('../fonts/fontawesome-webfont.svg?v=4.0.1#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
Error
Failed to load resource: the server responded with a status of 404 (Not Found) link
Failed to load resource: the server responded with a status of 404 (Not Found) link
File tree:
Web/Content/css
- font-awesome.min.css
Web/Content/fonts
- FontAwesome.otf
- fontawesome-webfont.svg
- fontawesome-webfont.woff
- glyphicons-halflings-regular.svg
- glyphicons-halflings-regular.woff
Web/Views/Shared
- _Layout.cshtml
Web/Views/Home
- index.cshtml