Solved by Nick R
Can someone please help me with this, my stylesheet isn't loading on my site and I don't know what I'm doing wrong
This is the HTML I have :
<html>
<head>
<link rel="stylesheet" type="text/css" href="../files/styles/website.css" media="ALL"></link>
</head>
</html>
And this is the CSS Code :
@charset "utf-8"
body {
background-color:#FF0000
}
<html>
<head>
<link rel="stylesheet" href="../files/styles/website.css">
</head>
</html>
check your path, if this won't work try to use absolute path
<html>
<head>
<link rel="stylesheet" href="http://yourdomain.com/files/styles/website.css">
</head>
</html>
If you're on OS X or Linux, Maybe the problem is your folder permission
Try to write this on your terminal :
$ chmod -R 777 folder # Change folder to your folder names
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.