模板在IE中运行 - 在Firefox中失败 - 没有我编辑,只是未经编辑的模板 [英] Template works in IE - fails in Firefox - no edits by me, just unedited template

查看:73
本文介绍了模板在IE中运行 - 在Firefox中失败 - 没有我编辑,只是未经编辑的模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请转到 http://home.iprimus.com.au/appleisle

我已经加载了Small Business模板3 - 绝对没有变化,只是在EW中创建了一个新站点,然后ftp到我的ISP服务器,虽然在Explorer中布局很好,但它在Firefox(最新版本)中完全不合适。 >
有什么建议吗?
感谢Dennis

Please go to http://home.iprimus.com.au/appleisle

I have loaded up Small Business template 3 - absolutely NO changes, just created a new site in EW and then ftp up to my ISP server and although the layout is fine in Explorer it is totally out of wack in Firefox (latest version).

Any suggestions please?
Thanks Dennis

推荐答案

这是因为您的服务器将CSS文件作为普通/文本类型向下发送,因此被忽略由FF。您需要让服务器将其作为text / css文件发送。

如果这是Apache服务器,您可以通过将此行添加到htaccess文件来实现:
AddType text / css .css

在IIS中我认为你必须更改MIME类型。

基本上,它是你的服务器以及它如何广播(不是最好的词,但得到点)它发送的文件类型到浏览器。
Its because your server is sending the CSS file down as a plain/text type and therefore is ignored by FF.  You need to have the server send it down as a text/css file.

If this was an Apache server you could do it by adding this line to a htaccess file:
AddType text/css .css

In IIS I think you have to have the MIME type changed.

Basically, its your server and how it broadcasts (not the best word but gets the point across) the file type its sending to the browser.


这篇关于模板在IE中运行 - 在Firefox中失败 - 没有我编辑,只是未经编辑的模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆