Reputation: 252
My github pages site @americano-project.github.io is transferring css files as plaintext, not text/css
, causing my browser(firefox 25.0.1) not to load the css.
The css is embedded as so:
<link rel="stylesheet" type="text/css" src="/css/tmp.css" />
<link rel="stylesheet" type="text/css" src="/css/toast.css" />
The code is at a github repo, what is causing the problem?
Upvotes: 1
Views: 116
Reputation: 21694
It should be href
, not src
(Chrome 33 also did not parse them for me until I changed the src to href).
<link rel="stylesheet" type="text/css" href="/css/tmp.css" />
<link rel="stylesheet" type="text/css" href="/css/toast.css" />
Upvotes: 4