I'm using web fonts from webtype.com.

They provide a CSS file that you can link to. The contents are:

[code]

@font-face {
 font-family: "BentonSans Regular";
 src: url("url here") format("woff");
 font-style: normal;
 font-weight: normal;
}

[/code]

When they gave me code to embed in my template, via their online
generator, they provided the link to above style sheet and this
example css:

[code]

.bentonsansregular {
        font-family: "BentonSans Regular";
        font-style: normal;
        font-weight: normal;
}

[/code]

Question: If the @font-face already specifies font-style and
font-weight, do I need to provide those same redundant values in my
CSS?

For example:

[code]

h1 {
        font-family: "BentonSans Regular";
}

[/code]

Should I still apply font-weight: normal due to h*s being bold by
default, or does the @font-face handle this for me?

Another example:

[code]

em {
        font-family: "BentonSans Regular";
}

[/code]

Would I need to provide font-style: normal to avoid italicization from
the default em styles?

Thanks!
Micky
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to