dtrnish3637 2013-11-24 15:07
浏览 7

too long

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.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 python变量和列表之间的相互影响
    • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
    • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
    • ¥15 CSAPPattacklab
    • ¥15 一直显示正在等待HID—ISP
    • ¥15 Python turtle 画图
    • ¥15 关于大棚监测的pcb板设计
    • ¥15 stm32开发clion时遇到的编译问题
    • ¥15 lna设计 源简并电感型共源放大器
    • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)