相对风格设计现在已经过时了吗? [英] Is relative style design obsolete now?

查看:81
本文介绍了相对风格设计现在已经过时了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相对风格设计,例如相对字体大小:em,%现在已经过时了吗?


因为现在大多数现代浏览器都支持自动放大/缩小,即使你使用固定字体 -
尺寸。

Is relative style design, e.g. relative font-size: em, % obsolete now?

since most modern browsers now support automatic zoom in/out, even you
are using fixed font-size.

推荐答案



howa写道:

howa wrote:

是相对风格设计,例如相对字体大小:em,%现在已过时?
Is relative style design, e.g. relative font-size: em, % obsolete now?



它将*永远不会过时。

It will *never* be obsolete.


因为大多数现代浏览器现在支持自动放大/ out,即使你

也使用固定的字体大小。
since most modern browsers now support automatic zoom in/out, even you
are using fixed font-size.



这不是设计不佳的借口。忽略用户对默认字体大小的偏好只会鼓励不灵活的设计不能很好地适应用户设置的变化。


BTW,我的浏览器prefs会忽略你关心的任何固定字体大小设置,除非它足够大。您的布局是否会像许多其他人那样分崩离析?


-

Berg

That''s no excuse for poor design. Ignoring user preferences for default font size will only encourage inflexible designs that do not adapt well to variations in user settings.

BTW, my browser prefs would ignore any fixed font-size you care to set, unless it was sufficiently large. Would your layout then fall apart like so many others do?

--
Berg


howa< ho ****** @ gmail.comwrites:
howa <ho******@gmail.comwrites:

相对风格设计,例如相对字体大小:em,%现在已过时?
Is relative style design, e.g. relative font-size: em, % obsolete now?



当然不是。

Of course not.


因为大多数现代浏览器现在支持自动放大/缩小,即使你

使用固定字体大小。
since most modern browsers now support automatic zoom in/out, even you
are using fixed font-size.



不,我不是,因为我不是傻瓜。 YMMV。


sherm--


-

我的博客: http://shermspace.blogspot.com

Perl中的Cocoa编程: http://camelbones.sourceforge.net


Ben C写道:
Ben C wrote:

点缩放 (在Firefox 3和我认为最新版本的

IE)是它不仅仅改变字体大小,它还放大了

图像和明确大小的盒子试图阻止布局

打破。
The point of "zoom" (in Firefox 3 and I think some recent version of
IE) is that it doesn''t just change font sizes, it also magnifies
images and explicitly-sized boxes in an attempt to stop layouts
breaking.



至少在IE 7上,缩放容易让事情变得混乱 - 并且向上放大

强制执行水平滚动条。后者在一般情况下是不可避免的。

缩放意味着缩放,但前者可能只是破碎的设计。允许

4年以近乎不错的方式修复。


缩放确实与字体大小变化完全不同。对于一些奇怪的原因,许多网络作者似乎对此非常困惑。也许这是

因为固定字体大小不再是问题的想法因为

缩放可能性具有成功模因的大部分功能:它

听起来很舒服,听起来很现代,听起来技术性很强,而且你想要记住并向前传递,这是一件好事,因为这会让你看起来很酷,

渐进式,乐于助人。如果你想保留这种错觉,那么当你查看一个设计为

玩小字体和刚性的页面时,你实际上是否试图_use_缩放IE。拥挤的布局。


-

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

At least on IE 7, zooming easily messes things up - and zooming upwards
enforces horizontal scroll bar. The latter is unavoidable in general when
zooming means zooming, but the former is probably just broken design. Allow
4 years to have fixed in an almost decent manner.

Zooming is indeed quite different from font size changing. For some odd
reason, many web authors seem to be very confused about this. Maybe this is
because the idea that fixed font size aren''t a problem any more due to
zooming possibilities has most of the features of a successful meme: it
sounds pleasant, it sounds modern, it sounds technical, and it''s something
you want to memorize and pass forward, since that makes you look cool,
progressive, and helpful. If you wish to preserve this illusion, don''t you
ever actually try to _use_ zooming on IE when viewing a page designed to
play with tiny fonts and rigid and crowded layout.

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


这篇关于相对风格设计现在已经过时了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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