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]
|