用于多种浏览器的多层CSS文件 - 您的评论 [英] Mulriple CSS files for multimple browsers - your comments

查看:59
本文介绍了用于多种浏览器的多层CSS文件 - 您的评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好您好


我最近完成的基于标准和CSS设计的新网站即将上线。

即将上线。


经过大量的测试和调整后,我已经设法获得了网站

,以便在PC,Mac,Unix和Linux上的大多数浏览器上看起来应该这样。

系统。缺点是我不得不使用PHP(检测浏览器/ CSS)

和许多被调整的CSS文件 - 每个浏览器对应一个
平台,结果是在很多CSS文件中。


这是当时唯一明智的方法/解决方案。


我只是想知道什么其他人对此有何看法?我确定你们很多人不得不做同样的事情,无论是什么?b $ b你试图限制CSS文件的数量是多么的难度

现在是现实的。


你们有没有做过类似的事情?
工作或哪些有效的替代解决方案?


请讨论。


非常感谢

克里斯

解决方案

2005年1月31日08:07:01 -0800,Chris< ab *** *@bangor.ac.uk>写道:

我只是想知道其他人对此有何看法?我是




如果你想要一个类似的渲染最流行的浏览器,我认为这只是

唯一的方式。


你可以为Opera,Gecko,IE 5.5和IE 6创建一个单独的文件。

然后你需要一个单独的文件用于基于KHTML的浏览器(Safari ,

Konqueror等)如果你有一个非常复杂的布局。纯粹主义者将永远

找到一种方法只有一个CSS文件:)


-

使用Opera的革命性电子邮件客户端: http://www.opera.com/mail/

发现Opera: http://members.surfeu.fi/ jerkku /
http://www.auriance.com - http://www.auriance.net

这是一个有趣的想法。我已经考虑过使用这个想法,但是已经能够使用CSS来破解

主流浏览器中的*足够*结果。


2005年1月31日10:18:04 -0800,^ demon< in ************ @ gmail.com>写道:

这是一个有趣的想法。


有什么好主意?

我'我考虑过使用这个想法,


哪个想法?

但是已经能够用CSS攻击




hack for what ;-)?


你在说什么/回复什么?


-

, - - < - @ - PretLetters:''woest wyf'',遇见vele interesses:----------。

|博客| http://home.wanadoo.nl/b。 de.zoete / _private / weblog.html |

| webontwerp | http://home.wanadoo.nl/b。 de.zoete / html / webontwerp.html |

| zweefvliegen | http://home.wanadoo.nl/b。 de.zoete / html / vliegen.html |

` --------------------------- ----------------------- - < - @ ------------''


Hello all

A new standards based and CSS designed site I recently completed is
soon to go live.

After much testing and tweaking I have fianlly managed to get the site
to look as it should on most browsers on PC, Mac, Unix and Linux
systems. The downside was that I had to use PHP (to detect browser/CSS)
and many CSS files which were tweaked - one for each browser on each
platform and it resulted in quite a few CSS files.

This was the only sensible approach/solution at the time.

I am just interested to know what other peoples views are on this? Im
sure many of you have had to do the same thing as no matter
how hard you try to limit the number of CSS files it just isnt
realistic at this present time.

Have any of you done similar things? Any alternative solutions that
worked or which were effective?

Please discuss.

Many thanks
Chris

解决方案

On 31 Jan 2005 08:07:01 -0800, Chris <ab****@bangor.ac.uk> wrote:

I am just interested to know what other peoples views are on this? Im



If you want a similar rendering il most popular browser, I think it''s the
only way.

You can create one single file for both Opera, Gecko, IE 5.5 and IE 6.
Then you''ll need a separate file for KHTML-based browsers (Safari,
Konqueror, etc.) if you have a quite complex layout. Purists will always
find a way to have just one CSS file :)

--
Using Opera''s revolutionary e-mail client: http://www.opera.com/mail/
Discover Opera: http://members.surfeu.fi/jerkku/
http://www.auriance.com - http://www.auriance.net


It''s an interesting idea. I''ve considering using this idea, but have
been able to hack around with CSS to get a *good enough* result in the
major browsers.


On 31 Jan 2005 10:18:04 -0800, ^demon <in************@gmail.com> wrote:

It''s an interesting idea.

What is an interesting idea?
I''ve considering using this idea,

Which idea?
but have
been able to hack around with CSS



What the hack for ;-) ?

What are you talking about / replying to?

--
,-- --<--@ -- PretLetters: ''woest wyf'', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------''


这篇关于用于多种浏览器的多层CSS文件 - 您的评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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