I have a CSS file that I am loading via AJAX from my dreamhost account. I get the error No 'Access-Control-Allow-Origin' header is present on the requested resource.
I googled and found there is something called an .htaccess file (I have no idea what this is and couldn't understand anything that tried to explain it). Anyway I made one of these files and put in it:
Access-Control-Allow-Origin "*"
Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"
This is something I found that said to do this but I don't know why. Anyway, it doesn't work and I'm still getting the same error. How can I get this to work?