Forum Moderators: not2easy
@import "navbar.css"; It works fine on my local apache2 server but when I try to run it on the webhost I get the following error: The resource from “http://test.example.com/css/navbar.css” was blocked due to MIME type (“text/html”) mismatch <link href="css/features.css" rel="stylesheet" /> [edited by: not2easy at 2:15 pm (utc) on Jul 11, 2020]
[edit reason] exemplified URL [/edit]
type="text/css" <link rel="stylesheet" type="text/css" media="screen" href="/style.css"> - also be sure that the link to the stylesheet is accurate. The link shown (..href="css/features.css") assumes that your html page is located within the /css/ folder (on a typical server). @import '/css/navbar.css'