You are here: Re: style="font-weight: 500;" « HTML « IT news, forums, messages
Re: style="font-weight: 500;"

Posted by Ed Mullen on 11/08/06 19:35

Richard Formby wrote:
> Ed Mullen wrote
>
> [font-weight]
>
>> Err, what am I missing? I see no difference.
>>
>> http://edmullen.net/temp/weight.html
>
> You didn't go far enough.
>

Right. Just wanted to know why the effect wasn't what it seemed dorayme
was implying. For those interested I changed the test page at the
link above.

> In a test I ran font-weight 1 to 599 came up as 'normal', 600 to 999 'bold'.
>
> Font-weight does not do what you think it does. It is not a gradual "sizing"
> like font-size. The numbers are translated into the nearest "weight"
> provided in the font. Most fonts only have two, normal and bold. Some only
> have one.
>
> And no, you can't change that. Font weight is a property of the font, that
> is the .ttf, not the browser or the OS.

Understood, thanks.

Do you know of a good online resource that describes what Windows fonts
have what weights built into them? Are there any that have more than
two? I doubt I'd ever use this formatting but my curiosity has been
piqued. ;-)

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
I heard that in relativity theory, space and time are the same thing.
Einstein discovered this when he kept showing up three miles late to
meetings.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация