如何阻止影响网页的XP“大字体”? [英] How can I stop XP 'Large Fonts' affecting web page?

查看:66
本文介绍了如何阻止影响网页的XP“大字体”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


希望有人能够提供帮助。我注意到当我设计一个基本的HTML页面时,如果WinXP用户的控制面板中设置了大字体,则会影响


但有些页面,例如我认为 www.bbc.co.uk/news 不受此影响。

他们肯定不会受到改变

浏览器中字体大小的影响。


因为我想添加表格,如果更改了字体

大小,将会错误地自动换行,如何禁用允许浏览器执行此操作?


基本上我希望字体大小为保持我的设计方式。如果他们需要它更大,他们可以在更新的浏览器中使用缩放选项。


提前感谢任何有用的建设性回复:)

-

谢谢,




我建议 www.Superhighstreet.com/home 找到任何东西或者他们付钱!

Hi all,

Hope someone is able to help. I notice when I design a basic HTML page, it
is affected if a WinXP user has Large Fonts set in their Control Panel.
However some pages, e.g. www.bbc.co.uk/news are unaffected by this I think.
They are definitely not affected by changing the font size within the
browser.

Because I want to add tables, which will word-wrap incorrectly if the font
size is changed, how can I disable allowing the browser to do this?

Basically I want the font size to stay how I designed it. If they need it
bigger, they can use the zoom option in more recent browsers.

Thanks in advance for any helpful constructive replies :)
--
Thanks,
Me

I recommend www.Superhighstreet.com/home Finds anything or they pay for it!

推荐答案

Chris Tomlinson写道:
Chris Tomlinson wrote:
提前感谢任何有用的建设性回复:)
Thanks in advance for any helpful constructive replies :)




我的建设性回复''除了鼓励你以外什么都没有。

留下单独增加字体大小的能力,并尝试改进

表格布局的可变字体大小。这样,视力不好的人

也可以使用你的网站...

JW



My ''constructive reply'' consists of nothing else than encouraging you to
leave the ability to increase the font size alone and try to improve the
table layout for variable font sizes. This way, people with poor eye-sight
may also use your site...
JW


Janwillem Borleffs写道:
Janwillem Borleffs wrote:
Chris Tomlinson写道:
Chris Tomlinson wrote:
提前感谢任何有用的建设性回复:)
Thanks in advance for any helpful constructive replies :)



我的建设性回复''除了鼓励你之外别无其他,只留下增加字体大小的能力,并尝试改进可变字体大小的表格布局。这样,眼睛视力不好的人也可能会使用你的网站...



My ''constructive reply'' consists of nothing else than encouraging you
to leave the ability to increase the font size alone and try to
improve the table layout for variable font sizes. This way, people
with poor eye-sight may also use your site...




这是完全正确的。人们选择大字号是有原因的。

如果你担心它会影响你的

布局,只需在CSS中使用em而不是px 。


Grtz,

-

Rik Wasmus



That''s exactly right. There is a reason why people choose a large font-size.
Just use em instead of px in CSS if you''re afraid it will compromise your
lay-out.

Grtz,
--
Rik Wasmus


在alt.html中,Chris Tomlinson写道:
In alt.html, Chris Tomlinson wrote:
希望有人能够提供帮助。我注意到当我设计一个基本的HTML
页面时,如果一个WinXP


...或任何其他版本的任何图形操作系统都会受到影响..

用户的控制面板中设置了大字体。但有些页面,例如,我认为 www.bbc.co.uk/news 不受此影响。它们肯定不会受到改变浏览器中字体大小的影响。


当我在浏览器中增加大小时,该bbc页面符合。您必须使用Internet Explorer,它不会调整以像素为单位的字体或

点。尝试一下,哦,比方说,Firefox,按一下

次,或者使用Opera,然后从小型sizer doodad中选择120%。

因为我想添加表格,如果
字体大小发生变化,将会错误地自动换行,如何禁用允许浏览器执行此操作?


视障人士会做什么?并且,除非访问者使用IE浏览器是
,否则他们都可以轻松覆盖您固定的字体大小。 (所以IE,

但它显然不容易,因此群众不知道如何。)

基本上我希望字体大小保持我的设计它。如果他们需要更大,他们可以在更新的浏览器中使用缩放选项。


万维网上使用的网页应该是为

的访问者设计的,而不是作者。

提前谢谢任何有用的建设性回复:)
Hope someone is able to help. I notice when I design a basic HTML
page, it is affected if a WinXP
...or any other version of any graphical OS..
user has Large Fonts set in their Control Panel. However some pages,
e.g. www.bbc.co.uk/news are unaffected by this I think. They are
definitely not affected by changing the font size within the browser.

When I increase the size in my browser, that bbc page conforms. You must
be using Internet Explorer, which will not resize fonts set in pixels or
points. Try it in, oh, say, Firefox, and press Control-Plus a couple of
times, or with Opera and pick 120% from the little sizer doodad.
Because I want to add tables, which will word-wrap incorrectly if the
font size is changed, how can I disable allowing the browser to do
this?
What will your visually impaired visitors do? And, unless the visitor is
using IE, they all can easily override your fixed font size. (So can IE,
but it is not apparently easy, therefore the masses don''t know how.)
Basically I want the font size to stay how I designed it. If they
need it bigger, they can use the zoom option in more recent browsers.
Web pages used on the World Wide Web should be designed for the
visitors, not the author.
Thanks in advance for any helpful constructive replies :)




设置你的身体{font-size:100%;并且对于标题使用稍大一点,

并且对于legalese略小一些。然后每个人都应该能够阅读

吧。哦,不要像英国广播公司那样使用Verdana。


-

-bts

-警告:我草坪鹿刹车



Set your body { font-size: 100%; } and use slightly larger for headings,
and slightly smaller for legalese. Then everyone should be able to read
it. Oh, and don''t use Verdana like the bbc does.

--
-bts
-Warning: I brake for lawn deer


这篇关于如何阻止影响网页的XP“大字体”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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