Mac上的IE 5.2 - 没有样式表? [英] IE 5.2 on Mac - no stylesheet??

查看:81
本文介绍了Mac上的IE 5.2 - 没有样式表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站页面在大多数浏览器中看起来都不错,包括Mac上的Safari / b $ b。使用Mac的IE 5.2时,样式表将被忽略。


我已经尝试了@import和< Link。有什么建议吗?


第二个问题:假设我不想在@import下面添加样式

,使用它有什么好处吗? br />
如何选择@import和< Link ??


Mason C

My site pages look ok in most browsers, including Safari on
the Mac. With Mac''s IE 5.2 the stylesheet is ignored.

I''ve tried both @import and <Link. Any suggestions?

Second question: assuming I don''t want to add styles
below the @import, is there any advantage in using it?
How choose between @import and <Link ??

Mason C

推荐答案

在文章MasonC中写道:
In article MasonC wrote:
我的网站页面在大多数浏览器中看起来都不错,包括Mac上的Safari。使用Mac的IE 5.2,样式表将被忽略。


URL?

我已经尝试了@import和< Link。有什么建议?


什么语法。 IIRC,至少在第一个问题上是有意义的。第二个问题:假设我不想在@import下面添加样式,使用它有什么优势吗?


IE3和IE4可能无法理解。无论如何没有人应该使用它们,所以不是很有优势。我个人从未使用它,因为IE4出乎意料地好了b / b $ b)它能够忽略它不知道的东西(与NN4相比......)

如何选择@导入和< Link ??
My site pages look ok in most browsers, including Safari on
the Mac. With Mac''s IE 5.2 the stylesheet is ignored.
URL?
I''ve tried both @import and <Link. Any suggestions?
What syntax. IIRC, it is meaningful at least with first
Second question: assuming I don''t want to add styles
below the @import, is there any advantage in using it?
IE3 and IE4 may not understand it. Nobody should use them anyway, so not
big advantage. I have personally never useed it, as IE4 has surprisingly
good ability to ignore stuff it doesn''t know (compared to NN4...)
How choose between @import and <Link ??




在您关心的浏览器上哪种情况更好/更差。无论如何,避免在外部样式表中有@import的情况,因为它使得加载它的速度变慢了,因为需要更多的http请求才能获得它。


(通常人们会以这种方式放置他们的advangedcss,并导致flash
次优样式的内容......)

>
-

Lauri Raittila< http://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>

我在找工作Etsin ty?t?



Which happens to work better/worse on browsers you care. Anyway, avoid
situation where you have @import in external stylesheet, as it makes
loading it slower, as there is more http requests needed to get it.

(very often people put their "advanged" css to this way, and cause flash
of suboptimally styled content...)

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I''m looking for work | Etsin ty?t?


你是否与你的大写一致? IE5 Mac是

少数(唯一的?)浏览器之一,对于

样式表区分大小写,所以定义为.Important(比如)的类赢了如果你这是
包括它作为style =" important


eifion


MasonC写道:
Have you been consistent with your capitalization? IE5 Mac is one of the
few (the only?) browser that is case sensitive when it comes to
stylesheets, so a class defined as .Important (say) won''t show if you
include it as style="important"

eifion

MasonC wrote:
我的网站页面在大多数浏览器中看起来都不错,包括Mac上的Safari。使用Mac的IE 5.2时,样式表将被忽略。

我已经尝试了@import和< Link。有什么建议吗?

第二个问题:假设我不想在@import下添加样式
,使用它有什么好处吗?
如何在@import之间选择和< Link ??

Mason C
My site pages look ok in most browsers, including Safari on
the Mac. With Mac''s IE 5.2 the stylesheet is ignored.

I''ve tried both @import and <Link. Any suggestions?

Second question: assuming I don''t want to add styles
below the @import, is there any advantage in using it?
How choose between @import and <Link ??

Mason C



或class =" important"甚至.....(oops)

Eifion写道:
or class="important" even..... (oops)
Eifion wrote:
你是否与你的大写一致? IE5 Mac是少数(唯一的?)浏览器之一,对于
样式表是区分大小写的,所以定义为.Important(说)的类不会显示你是否
包括它作为style =" important"

eifion
Have you been consistent with your capitalization? IE5 Mac is one of the
few (the only?) browser that is case sensitive when it comes to
stylesheets, so a class defined as .Important (say) won''t show if you
include it as style="important"

eifion



] Mason C


] Mason C


这篇关于Mac上的IE 5.2 - 没有样式表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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