样式表方法 [英] Style Sheet Methods

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

问题描述

[我之前在comp.infosystems上问过这个问题。 www.authoring.stylesheets

但我没有得到太多回应所以我想我会在这里尝试

彻底]


我''我希望得到人们对在你的

文件中添加CSS的方法的看法。


让我们假设每个人都使用远程样式表,这使得

网站更容易维护。


我们也假设每个人都遇到Netscape 4的问题,我这是$ b / b $ b不认为是不公平的。


所以这给我们留下了以下方法:


1)单个远程样式表来自LINK标记,标记为MEDIA =ALL来自Netscape 4的
隐藏它。


2)通过LINK标签的两个或更多远程样式表,一个标记为

MEDIA = " ALL"从Netscape 4隐藏它,其他没有。


3)通过LINK标签的单个远程样式表,包含一些内容

使用Netscape-bug-exploiting评论从Netscape 4中隐藏。


4)通过LINK标记的单个远程样式表,以及STYLE部分

包含一个或者更多@IMPORT语句。


5)通过LINK标签的单个远程样式表,远程样式表

包含一个或多个@IMPORT语句。


我是否涵盖了所有可能性?


我想知道您使用哪种方法,为什么?

解决方案

ho ******* @ yahoo.com (Hostile17)写道:

[我之前在
comp.infosystems上问过这个问题。 www.authoring.stylesheets 但我没有得到太多回复所以我以为我会在这里尝试彻底]]




那是非常愚蠢的。你甚至都不知道原帖,而且你好b $ b似乎重新发布了原来的问题。如果你没有从

学到任何东西,你在正确的小组中得到了什么,那么它可能会在错误的小组中重试有什么好处?b / b $


在获得线索之前,请不要切换到符合RFC 1036的字段




-

Yucca, http://www.cs.tut.fi / ~jkorpela /

关于网页创作的网页: http://www.cs.tut.fi/~jkorpela/www.html


2月29日2004 21:51:46 -0800, ho*******@yahoo.com (Hostile17)写道:

[我之前在comp.infosystems上问过这个问题。 www .authoring.stylesheets
但我没有得到太多回应所以我想我会在这里尝试/>彻底]




我觉得你没有得到很多回复,因为大多数人都不会认为这是非常重要的列出的方法之一。


-

Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


2004年3月1日星期一07:57:53 +0000(UTC),Jukka K. Korpela

< jk ****** @ cs.tut .fi>在comp.infosystems中声明。 www.authoring.html:

ho*******@yahoo.com (Hostile17)写道:


在得到线索之前,请不要切换到符合RFC 1036的字段




以什么方式做OP'的From字段(上面引用以供参考)不是
符合RFC?


第2.1.1节(From字段)声明


< quote>

因此,三种允许的形式是:


来自: ma ** @ cbosgd.ATT.COM

来自: ma ** @ cbosgd.ATT.COM (Mark Horton)

来自:Mark Horton< ma ** @ cbosgd.ATT.COM>

< / quote>


AFAICS,OP'的From字段跟随第二种形式。


-

Mark Parn ell
http://www.clarkecomputers.com.au


[I previously asked this on comp.infosystems.www.authoring.stylesheets
but I didn''t get much response so I thought I''d try here for
thoroughness]

I''d like to get people''s opinions on methods of adding CSS to your
documents.

Let''s assume that everyone uses remote style sheets, which make
websites much easier to maintain.

Let''s also assume that everyone has problems with Netscape 4, which I
don''t think is unfair.

So this leaves us with the following approaches:

1) A single remote stylesheet via a LINK tag, marked MEDIA="ALL" to
hide it from Netscape 4.

2) Two or more remote stylesheets via LINK tags, one marked
MEDIA="ALL" to hide it from Netscape 4, the other(s) not.

3) A single remote stylesheet via a LINK tag, with some of the content
hidden from Netscape 4 with Netscape-bug-exploiting comments.

4) A single remote stylesheet via a LINK tag, plus a STYLE section
containing one or more @IMPORT statements.

5) A single remote stylesheet via a LINK tag, the remote stylesheet
containing one or more @IMPORT statements.

Have I covered all the possibilities?

What I''d like to know is which approach you use, and why?

解决方案

ho*******@yahoo.com (Hostile17) wrote:

[I previously asked this on
comp.infosystems.www.authoring.stylesheets but I didn''t get much
response so I thought I''d try here for thoroughness]



That''s very foolish. You don''t even identify the original post, and you
seem to repost the original question. If you didn''t learn anything from
the responses you got in the right group, what could it possibly
benefit to retry in a wrong group?

Please do not switch to an RFC 1036 conformant From field
before you get a clue.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


On 29 Feb 2004 21:51:46 -0800, ho*******@yahoo.com (Hostile17) wrote:

[I previously asked this on comp.infosystems.www.authoring.stylesheets
but I didn''t get much response so I thought I''d try here for
thoroughness]



I think you didn''t get many responses because most people don''t consider
it terribly important which of the listed methods one uses.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/


On Mon, 1 Mar 2004 07:57:53 +0000 (UTC), "Jukka K. Korpela"
<jk******@cs.tut.fi> declared in comp.infosystems.www.authoring.html:

ho*******@yahoo.com (Hostile17) wrote:
Please do not switch to an RFC 1036 conformant From field
before you get a clue.



In what way does the OP''s From field (quoted above for reference) not
comply with the RFC?

Section 2.1.1 (the From field) states that

<quote>
Thus, the three permissible forms are:

From: ma**@cbosgd.ATT.COM
From: ma**@cbosgd.ATT.COM (Mark Horton)
From: Mark Horton <ma**@cbosgd.ATT.COM>
</quote>

AFAICS, the OP''s From field follows the 2nd form.

--
Mark Parnell
http://www.clarkecomputers.com.au


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

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