Reply to Re: Font Styles

Your name:

Reply:


Posted by The Doctor on 10/11/06 03:49

tya

"jojo" <jojo.hafner@gmx.de> wrote in message
news:eggv6f$484$1@registered.motzarella.org...
> Nikita the Spider wrote:
>
>>> H2
>>> {
>>> color:blue;
>>> font-family:arial;
>>> font-size:20pt;
>>> }
>
> [snip]
>
>> I just wanted to add in that points (pt) are fine for
>> printing but aren't a great measurement unit for screens.
>> Try ems or percentages instead, like so:
>>
>> h2 {
>> color:blue;
>> font-family:arial;
>> font-size: 125%;
>> }
>>
>
> There is still something to add: I would specify a generic
> font-family in addition to the font-type (would be
> "sans-serif" in case of Arial).
>
> So your CSS-class would be:
>
> h2
> {
> color:blue;
> font-family:arial, sans-serif;
> font-size: 125%;
> }
>
> for more information about generic font families see:
> http://www.w3.org/TR/REC-CSS2/fonts.html#generic-font-families
>
> jojo

[Back to original 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

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