firefox和CSS文件 [英] firefox and CSS files

查看:74
本文介绍了firefox和CSS文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网页( http://www.clergytaxes.com/taxwarn。 html )在IE中看起来很好

但是在Firefox中没有应用任何风格。


我还在这个过程中将此网站转换为基于样式表的

设计,并且看不到我的问题。


样式表位于同一服务器上的images文件夹中。 />
http://www.clergytaxes.com/images /ct.css



谢谢,


Russ Wickstrom

明尼苏达州明尼阿波利斯

rk ********* @ yahoo.com

I have a webpage (http://www.clergytaxes.com/taxwarn.html) that looks fine
in IE but isn''t applying any of the style in Firefox.

I am still in the process of converting this site to a stylesheet based
design, and cannot see my problem.

The stylesheet is in the images folder on the same server.
(http://www.clergytaxes.com/images/ct.css)

Could someone steer me in the right direction please?

Thank you,

Russ Wickstrom
Minneapolis, MN

rk*********@yahoo.com

推荐答案

文章< 10 **** *********@corp.supernews.com> ;,

" Russ Wickstrom" < RW ******** @ access4less.net>写道:
In article <10*************@corp.supernews.com>,
"Russ Wickstrom" <rw********@access4less.net> wrote:
我有一个网页( http ://www.clergytaxes.com/taxwarn.html )在IE中看起来不错,但在Firefox中没有应用任何风格。
....有人可以引导我朝着正确的方向前进吗?
I have a webpage (http://www.clergytaxes.com/taxwarn.html) that looks fine
in IE but isn''t applying any of the style in Firefox. .... Could someone steer me in the right direction please?




配置错误的服务器。 CSS文件的MIME类型应该是text / css而不是

text / plain。

http://www.mozilla.org/docs/web-deve...tylenotworking

-

Henri Sivonen
hs ****** @ iki .fi
http://iki.fi/hsivonen/

Mozilla Web作者常见问题解答: http: //mozilla.org/docs/web-developer/faq.html



Misconfigured server. MIME type of CSS files should be text/css and not
text/plain.

http://www.mozilla.org/docs/web-deve...tylenotworking

--
Henri Sivonen
hs******@iki.fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


我尝试了没有类型(现在)和

''type =" text / css"''


这没什么区别。


--Russ


" Henri Sivonen" < HS ****** @ iki.fi>在消息中写道

新闻:hs **************************** @ news.dnaintern et.net。 ..
I have tried it with both no type (as it is now) and with the
''type="text/css"''

This has made no difference.

--Russ

"Henri Sivonen" <hs******@iki.fi> wrote in message
news:hs****************************@news.dnaintern et.net...
文章< 10 ************* @ corp.supernews.com>,
" Russ Wickstrom" < RW ******** @ access4less.net>写道:
In article <10*************@corp.supernews.com>,
"Russ Wickstrom" <rw********@access4less.net> wrote:
我有一个网页( http ://www.clergytaxes.com/taxwarn.html )在IE浏览器中显示
罚款,但在Firefox中没有应用任何风格。
I have a webpage (http://www.clergytaxes.com/taxwarn.html) that looks fine in IE but isn''t applying any of the style in Firefox.


...


...

请问有人引导我朝着正确的方向前进吗?
Could someone steer me in the right direction please?



配置错误的服务器。 CSS文件的MIME类型应该是text / css而不是
text / plain。

http://www.mozilla.org/docs/web-deve...tylenotworking

-
Henri Sivonen
hs******@iki.fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html






Russ Wickstrom写道:
Russ Wickstrom wrote:
我试过它都没有类型(就像现在一样)和
''type =" text / css"''

这没什么区别。
I have tried it with both no type (as it is now) and with the
''type="text/css"''

This has made no difference.



在Firefox中加载页面后,在工具上打开JavaScript

控制台菜单。您将看到错误:


错误:样式表 http://www.clergytaxes.com/images/ct.css ,因此其未加载。 text / css" ;.


您的主机未正确提供CSS文件。联系他们,并向他们阅读

这个错误。


IE当然不符合规则。它还应该拒绝

样式表。


-

-bts

-这个空间故意留空。



Just after you load the page in Firefox, go open the JavaScript
console, on the Tools menu. You will see the error:

Error: The stylesheet http://www.clergytaxes.com/images/ct.css was not
loaded because its MIME type, "text/plain", is not "text/css".

Your host is not serving CSS files correctly. Contact them, and read
this error to them.

IE, of course, doesn''t play by the rules. It should also reject the
stylesheet.

--
-bts
-This space intentionally left blank.


这篇关于firefox和CSS文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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