屏幕大小检测 - 选择CSS [英] screen size detect - select CSS
问题描述
我已经开始研究用于屏幕尺寸检测的脚本,其中
意图使用它们从一些定制的CSS样式表中挑选
到这个尺寸。 br />
有没有一个很好的理由为什么这不常见? IE我在浪费我的
时间吗?
--- dE | _---
I have started looking into scripts for screen size detect with the
intention of using them to pick from a number of CSS style sheets tailored
to the size.
Is there a good reason why this is not so commonly done? IE am I wasting my
time?
---dE|_---
推荐答案
dE | _于2007年11月7日在comp.lang.javascript中写道 :
dE|_ wrote on 07 nov 2007 in comp.lang.javascript:
我已经开始研究用于检测屏幕尺寸的脚本
意图使用它们从一些CSS样式表中挑选
根据尺寸量身定制。
为什么不常见这种情况有充分的理由吗?
I have started looking into scripts for screen size detect with the
intention of using them to pick from a number of CSS style sheets
tailored to the size.
Is there a good reason why this is not so commonly done?
屏幕大小!=窗口大小!=窗口显示大小。
我是否在浪费时间?
另外FF [非常徒劳]。
-
Evertjan。
荷兰。
(请在我的电子邮件地址中将x'变为点数)
screen size != window size != window display size.
IE am I wasting my time?
Also FF [fery futile].
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
dE | _写道:
dE|_ wrote:
我已经开始研究用于屏幕尺寸检测的脚本了
意图使用它们从一些定制的CSS样式表中挑选
到这个大小。
有没有一个很好的理由为什么这不常见? IE我在浪费我的
时间吗?
--- dE | _---
I have started looking into scripts for screen size detect with the
intention of using them to pick from a number of CSS style sheets tailored
to the size.
Is there a good reason why this is not so commonly done? IE am I wasting my
time?
---dE|_---
坏主意。我曾经找到一个网站,我需要从中获取信息
完全空白。最后查看了源代码,发现
设计师已选择(Javascript)不同的布局和图像大小
用于一系列不同的视口大小,没有一个匹配我的1920x1620
屏幕。因此,一个空白页面。
相反,google为流动css布局。
菲尔,伦敦
Bad idea. I once found a website I needed to get information from which
appeared totally blank. Eventually looked at the source, and found that
the designer had selected (Javascript) different layouts and image sizes
for a range of different viewport sizes, and none matched my 1920x1620
screen. Hence, a blank page.
Instead, google for "fluid css layout".
Phil, London
" Randy Webb"写了
"Randy Webb" wrote
>>>有充分理由说这不常见做了什么? IE我是在浪费时间吗?
>>>Is there a good reason why this is not so commonly done? IE am I
wasting my time?
是的,你在浪费时间。禁用脚本,让我们都知道
那么它的工作原理。
Yes, you are wasting your time. Disable scripting and let us all know how
well it works then.
纠正我,如果我错了,但你不能有没有脚本的选择吗?
--- dE | _---
Correct me if I''m wrong but can''t you have a ''no script'' alternative?
---dE|_---
这篇关于屏幕大小检测 - 选择CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!