jasho — 2012-11-19T17:09:32-05:00 — #1
Hi there everyone,
In the last hours I've been practicing some HTML and CSS coding starting form scratch. Then I got Coda so the edition become easier, everything went well until after a while (editing my html file hosted in my server directly with Coda) my HTML didn't load any font, and afterwards didn't load my CSS linked file.
This happened twice today, and I don't know why. Can anyone tell me why my HTML doesn't load my CSS? Big thanks in advance.
P.S. I don't know if there's a problem with my computer's caches or something, please tell me if you see the CSS working.
stomme_poes — 2012-11-19T17:31:12-05:00 — #2
I clicked on the url to your webfonts.css and got a bunch of Japanese! Or something.
I clicked on your "css/style.css" and that file is 404. There's your problem. Here's the full URL our browsers think your CSS should be at: http://jasho.mx/cv/css/style.css
Notice it's called "style.css" in your HTML and not "mainstyle.css".
<link rel="stylesheet" type="text/css" media="all" title="normal" href="css/style.css">
It might be that simple. Yay!
(also your site is set to "spain-ish spanish" language... isn't there a es-MX? It would mean a screen reader who had a Latin American Spanish "voice" installed would use that one instead of thounding like it had a lithp.)
jasho — 2012-11-19T18:03:15-05:00 — #3
Stomme, Thank you for your kind reply.
Actually the folder destinations were OK, anyway I changed it to the complete URL, with even new file name, the folders are there too.
The webfonts.css file looks ok, I don't know why you are viewing japanese characters :S
The problem remains. I don't know what is wrong.
P.S. (I have changed the site's language)
ralphm — 2012-11-19T18:07:05-05:00 — #4
The CSS is loading for me! Perhaps try clearing you cache / refreshing your browser etc.
jasho — 2012-11-19T18:07:23-05:00 — #5
I just discovered... after my last post I clicked on the url http://jasho.mx/cv/index.html and this work very well, loading the CSS. But when I access by typing http://jasho.mx/cv it doesn't load the CSS.
Why this happens?
ralphm — 2012-11-19T18:08:35-05:00 — #6
It loads fine for me in that page too. Same issue: refresh your browser / clear cache.
jasho — 2012-11-19T18:14:01-05:00 — #7
But I tested in another computer, different of mine, and there was the problem too.
Now I access both ways and magically works, and I didn't make a big change. :S
Anyone know why this happens?
dresden_phoenix — 2012-11-19T23:05:17-05:00 — #8
So it seems that index.html works but the automatic redirect to index.html doesnt..hmmm. IS this a CMS based site? Both ways seem to be working fine for me here tho...
raxy80 — 2013-11-09T07:11:42-05:00 — #9
Try to disable blocking widgets in your browsers (like Adblock plus) for your site.
paulob — 2013-11-09T07:26:41-05:00 — #10
Thanks for posting anyway but you just replied to a thread that is over a year old so I doubt the issue still exists