字体大小 [英] font sizes

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

问题描述

>我在Windows上工作(不幸的是)。但我经常在Mac

> I work on Windows (unfortunately). But I regularly view my work in a Mac

(IE5.x和Safari)中查看我的工作。我没有注意到你所描述的现象。
但是,它似乎并不相关。重要的是100%适合你的设置,并且适合其他人设置,
任何操作系统。
(IE5.x and Safari). I do not notice the phenomenon that you describe.
But then, it hardly seems relevant. What''s important is that 100% is
right for you on your setup, and right for someone else on their setup,
whatever there os is.
在我的情况下正常导致Windows上太大。我的代码都是有效的,样式表也是如此。
我怀疑你有什么值得担心的,但以防万一... url?
normal in my case results in too big on Windows. My code is all
valid, so too are style sheets.
I doubt you have anything to worry about, but just in case... url?



Brian




当没有设置字体大小时,浏览器使用*他们的*普通字体大小
(无论用户想要什么,一般来说;如果不是这样的话,它可以改变。但是如果修改字体大小,他们就不能这样做,相对字体大小仍然是一个问题(他们可能不得不在网站之间进行调整)。
只不过是一些电视节目制作人应该关注他们的节目有多大声或多彩,只要他们把它产生到正常的状态。观众可以根据需要调整他们的设置。


Brian
and
When not setting a font size, browsers use *their* normal font size
(whatever the user wants, generally speaking; and it''s changeable to
whatever they want, if it''s not). But they can''t do that if you fix a font
size, and relative font sizing is still a problem (they may have to make
adjustments from site to site).

You''re doing the right thing by not setting a size, you don''t need to worry
about how different the text looks on different browsers in this situation.
No more than some TV show producer should concern themselves about how loud
or colourful their show is, so long as they produce it to the normal
conditions. The viewer can adjust their set as required.



Tim

感谢Brian和Tim的回复。似乎有一种误解。

在我的设置上它看起来不错是最不重要的!我会在我的设置上看起来很糟糕,但对其他人来说很棒,因为我制作的网站不是我要看的,而是为了其他所有人在节目中

(主要是个人电脑)。


如果我没有什么可担心的话,我会非常惊讶。我理解关于用户设置的观点(类比音量控制)。我并不担心民间如何设定他们的音量。控制(可以这么说)。我非常担心的是,大多数专业网站上的字体看起来很好,正常,平均,大小彼此相同,而我的表现却很突出虽然我没有设置任何特殊的字体大小,但是
更大。发生了什么事?

我的担忧是基于在PC上查看我的网站的证据和

获得一些书面和发表的反馈,以及来自一个名为<的网站br />
iCapture(拍摄网站在不同浏览器上的外观),我很震惊

看我的字体如此之大。


是当然,举个例子: http://ihpst.org/may2004newsletter.html


在iCapture中查看它在PC上的IE6上的样子,导航栏很好(没有

奇怪,字体编码很小,但是身体中的主要Ps是巨大的!

实际上,Safari for Macs也是如此(再次通过iCapture和

来自朋友的口头反馈)


我在我的机器上查看IE 5.1.6,Mozilla 1.3.1,iCab,Netscape

6.2上的内容并为我个人查看10或11pt字体设置了首选项(但是

这应该与我的无关如上所述的问题)。正是这个相对论的焦点让我感到难过。我为< meta

设置了代码http-equiv =" Content-Type"含量=" text / html的; charset = iso-8859-1"> ;.


我知道我遗漏了一些东西。我的印象是,在字体大小方面看起来不错的pro

网站在代码中也不够纯净。

不仅仅依靠简单的css链接样式表,它们经常在html和花哨的javascript控件中使用字体标签很重。

。什么是像我这样的简单

的手工编码,并且想要信任链接的css技术来支付
呢?有人告诉我! :)


你应该能够在
http://ihpst.org/ihpst.css


感谢任何帮助。


Tim
Thanks Brian and Tim for your replies. There seems to be a misunderstanding.
It is the least important thing that it looks good on my set up! I would
rather it looked terrible on my set up but great on everyone else''s because
the sites I make are not for me to look at but for others all over the show
(on mostly PCs).

I would be very surprised if I did not have something to worry about. I
understand the point about user settings (analogy of volume control). I am
not worried about how folk set their "volume" controls (so to speak). What I
am worried about is that quite generally, the fonts on most pro sites look
good, normal, average, like each other in size whilst mine stand out as
bigger though I do not set any special font size. What is going on?
My concerns are based on the evidence of looking at my sites on PCs and
getting some written and voiced feedback, and also from a site called
iCapture (takes pics of how sites look on different browsers), am appalled
to see my fonts so big.

Yes, of course, an example: http://ihpst.org/may2004newsletter.html

In iCapture looking at how it looks on IE6 on a PC, the nav bar is fine (no
wonder, the fonts are coded small, but the main Ps in the body are enormous!
Actually, same trouble in Safari for Macs (again, through iCapture and
verbal feedback from a friend)

I look at things on my machine on IE 5.1.6, Mozilla 1.3.1, iCab, Netscape
6.2 and set the prefs for my personal viewing for fonts at 10 or 11pt (but
this should be irrelevant to my problem as explained above). It is the
relativities that are stumping me. I set the code for <meta
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.

I know there is something I am missing. I have the impression that the pro
sites that look nice in font sizes also are less than pure in their code and
do not rely on simple css linked stylesheets alone, they often make heavy
use of font tags in the html and fancy javascript controls. What''s a simple
guy like me that hand-codes and wants to trust the linked css technology to
do? Someone tell me! :)

You should be able to see my style sheet that controls this one example at
http://ihpst.org/ihpst.css

Appreciate any help.

推荐答案

chart43< ch ***** @ optusnet.com.au>写道:
chart43 <ch*****@optusnet.com.au> wrote:
我的担忧是基于在PC上查看我的网站并获得一些书面和有声反馈的证据,以及来自一个名为
的网站iCapture(看看网站在不同浏览器上的外观),我很惊讶看到我的字体如此之大。

是的,当然,一个例子: http://ihpst.org/may2004newsletter.html
My concerns are based on the evidence of looking at my sites on PCs and
getting some written and voiced feedback, and also from a site called
iCapture (takes pics of how sites look on different browsers), am appalled
to see my fonts so big.

Yes, of course, an example: http://ihpst.org/may2004newsletter.html




从CSS建议的字体列表中删除Verdana并再次测试



Steve


-

我的理论给你起见,我的异端邪说你愤怒,

我从不回信,你不喜欢我的领带。 - 医生


Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>



Remove Verdana from the list of fonts your CSS suggests and test
again.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>


chart43写道:
chart43 wrote:
如果我感到非常惊讶我没有什么可担心的。


我发现网页设计师比

访问者更关心大字体大小。在重做一个摄影师的网站后,她抱怨说,字体大小太大了。

。我解释了大约100%,用户的默认值,

等,并告诉她她可以调整她的设置。 (最后一部分真的很赞美她!)但是没有其他人见过她的工作说了什么关于

字体大小。我真的相信这对设计师来说是一个问题,而且仅仅是b $ b设计师就可以为此烦恼。

我很担心的是,相当普遍的是,大多数专业人士的字体
网站看起来不错,正常,平均,


如果是专业你的意思是污染了许多公司网站的混乱,然后

我必须不同意:我发现字体大小范围从一点点到一点儿都很微观。

大小彼此相似,而我的比较大


Steve Pugh给了你唯一的一步:删除Verdana。

据知情人士说,它在物理上看起来比较大,但物理价值相同。 IIRC,它的宽高比稍大或者有些像这样的东西。拿出来,你会看到一些改进。

虽然我没有设置任何特殊的字体大小。到底是怎么回事?


总而言之:你做对了,他们做错了,也许是例外

是Verdana。

我的关注是基于在PC上查看我的网站的证据
并获得一些书面和发表的反馈,


谁给了你反馈?网页设计师,偶然吗?
http://ihpst.org/may2004newsletter.html
http://ihpst.org/ihpst.css
I would be very surprised if I did not have something to worry about.
I find that web designers worry far more about big font-size than the
visitors. After redoing a photographer''s website, she complained that
the font-size was too large. I explained about 100%, the user''s default,
etc., and told her she could adjust her settings. (That last part really
surpised her!) But noone else who has seen her work said anything about
the font-size. I really believe that this is an issue for designers and
designers alone to fret over.
I am worried about is that quite generally, the fonts on most pro
sites look good, normal, average,
If by "pro" you mean the messes that pollute many a corporate site, then
I must disagree: I find that the font-size ranges from a bit small to
damn well microscopic.
like each other in size whilst mine stand out as bigger
Steve Pugh has given you the only step to take: remove Verdana.
According to those who know, it looks subjectively bigger at the same
objective height. IIRC, it has slightly larger aspect ratio or some such
thing. Take it out, and you''ll see some improvement.
though I do not set any special font size. What is going on?
In a word: you do it right, they do it wrong, with perhaps the exception
being Verdana.
My concerns are based on the evidence of looking at my sites on PCs
and getting some written and voiced feedback,
Who gave you the feedback? Web designers, perchance?
http://ihpst.org/may2004newsletter.html
http://ihpst.org/ihpst.css




2元问题:首先,此消息出现在新线程中,即使

它是一个回复。如果我的新闻阅读器关闭(并且有时会出现片状),那么

无论如何。但是如果你开始一个新线程,不要:在

原始帖子中留下回复。第二,感谢您包含指向您的HTML和

css的链接。 :-)


-

Brian(从我的地址中删除无效给我发电子邮件)
http://www.tsmchughs.com/


chart43写道:
chart43 wrote:
我为< meta http-equiv =" Content-Type"
content =" text / html;设置了代码。字符集= ISO-8859-1"取代。


这与字体大小无关,但仍值得评论。使用

meta http-equiv作为内容类型和charset是设置真实http标头的糟糕替代品。

。如果可能的话,设置一个真正的http标题。
http:// ihpst.org/may2004newsletter.html
I set the code for <meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">.
This is unrelated to font size, but still worth commenting on. Using
meta http-equiv for content type and charset is a poor substitute for
setting real http headers. Set a real http header if it''s at all possible.
http://ihpst.org/may2004newsletter.html




虽然我们正在讨论其他主题,但是如何修复标记,嗯?


< p>< img src =" pics / headerNav.gif"宽度= QUOT; 100"高度= QUOT; 89" border =" 0"

alt =" gif">< / p>


这是什么?图像不是一个段落,至少不是典型情况下的b $ b。由于它出现在表格单元格中,因此丢失了< p>

标记。如果您需要将图像作为块容器,请使用

< div>< img ...>< / div>。

图像加载关闭时,请考虑页面的样子,因为大部分时间都适用于我。事实上,不要只考虑它。 *试试吧。看看导航上方。你看到了什么? ;-)


< br>< br>< br>< br>< br>< br>< br>< br>< br> ;< br>< br>< br>< b>< br>< br>< br>< br>< br>< br>

<峰; br><峰; br><峰; br><峰; br><峰; br><峰; br><峰; br><峰; br><峰; br><峰; br><峰; br><峰; br>< b r>< br>< br>< br>< br>< br>< br>


亲爱的,你一定要冷。 [1]你不是说你想要/ b $ b作者吗?使用css边距而不是所有那些< br>元素。


< img src =" pics / unswHome.jpg"宽度= QUOT; 65 QUOT;高度= QUOT; 56" align =" top"

border =" 0" alt =" UNSW home gif">


另一个经过深思熟虑的alt属性。取而代之的应该是新南威尔士大学。或者可能是UNSW home。您必须告知访问者什么图像

类型这是什么?


最后,我看到嵌套表格。


< / td>< / tr>< / table>


< / td>< / tr>< / table>


我意识到css-p比字体/颜色更难,但是嵌套

表格布局并不理想。至少,你不需要底部嵌套的

表。首先删除该页脚表,并使用css

进行定位。一旦你得到它,你可能已经准备好继续

摆脱所有多余的表格标记。

[1]笑话从几个月前的ciwah帖子中借来。


-

Brian(从我的地址中删除无效给我发电子邮件)
http://www.tsmchughs.com/


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

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