I have literally two files, one HTML and one CSS, to upload, and somehow I have managed to not make this work. I was using a free webhost (000webhost) which worked fine for months, but now I have changed to register365 and whenever I preview my website, only the HTML shows, without the CSS. Everything works fine when I preview it locally in my browser, but when uploading it to the server (FTP client is Filezilla), the CSS must get messed up along the way because when I inspect the CSS file in the source, it displays as a HTML file, like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>marinostyle.css</title>
<script type="text/javascript">
<!--
// Base64 encoding
var END_OF_INPUT = -1;
var base64Chars = new Array(
'A','B','C','D','E','F','G','H',
'I','J','K','L','M','N','O','P',
'Q','R','S','T','U','V','W','X',
'Y','Z','a','b','c','d','e','f',
'g','h','i','j','k','l','m','n',
'o','p','q','r','s','t','u','v',
'w','x','y','z','0','1','2','3',
'4','5','6','7','8','9','+','/'
);
and so on. Any ideas?
I am linking the CSS as I do normally, like:
<link href="style.css" rel="stylesheet" type="text/css">
Both of the files are in the same directory so that's definitely not the issue.