HTML & CSS
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.
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.)
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)
The CSS is loading for me! Perhaps try clearing you cache / refreshing your browser etc.
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?
It loads fine for me in that page too. Same issue: refresh your browser / clear cache.
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?
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...
Try to disable blocking widgets in your browsers (like Adblock plus) for your site.
Thanks for posting anyway but you just replied to a thread that is over a year old so I doubt the issue still exists