-1

This page (Biology Lessons) on Google Drive loads unstyled for some reason (the Introduction/index.html loads fine).

I've checked my HTML and CSS files with W3C's validators and everything checked out OK. I've deleted and remade both the index.html and assets/stylesheets/index.css files. I've even changed the location and name of the root folder in Google Drive; nothing worked.

The external fonts and all the other assets load fine; it's just the assets/stylesheets/index.css file.

Plus, when I launch it through Chrome Dev Editor it shows up like it should:

Screenshot

What do I have to do to get this thing to load right on the web?

0

You need to delete and reupload that file, but make sure that you have it as a .css file before you upload it.

The reason being is that Google will turn your file's MIME type to text/plain instead of text/css due to the specific way they process files when they are uploaded.

Also, web hosting support in Drive is ending soon.

  • Will it take time? Because it's not working. – gio1135 Dec 4 '15 at 23:56
  • Try deleting and reuploading that file, but make sure that you have it as a .css file before you upload it. Also, web hosting support in Drive is ending soon. – oldmud0 Dec 5 '15 at 0:03
  • It worked! You should add that to the answer. – gio1135 Dec 5 '15 at 0:06
  • All right, then. – oldmud0 Dec 5 '15 at 0:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.