Quote:
Originally Posted by vidgej
it would be nicer if i could use other bold fonts.
|
An approach I favor is to redefine serif (and san-serif if you want, but serif is the default) to be your input font. That way there is no need to override the "default" font:
Code:
@font-face {
font-family: "Constantia", serif, sans-serif;
font-weight: normal;
font-style: normal;
src: url(res:///abook/fonts/CONSTAN.TTF);
}
@font-face {
font-family: "Constantia", serif, sans-serif;
font-weight: bold;
font-style: normal;
src: url(res:///abook/fonts/CONSTANBD.TTF);
}
@font-face {
font-family: "Constantia", serif, sans-serif;
font-weight: normal;
font-style: italic;
src: url(res:///abook/fonts/CONSTANI.TTF);
}
@font-face {
font-family: "Constantia", serif, sans-serif;
font-weight: bold;
font-style: italic;
src: url(res:///abook/fonts/CONSTANBI.TTF);
}
body {
font-weight: bold;
}