View Single Post
Old 02-12-2010, 08:09 AM   #6
vidgej
Member
vidgej began at the beginning.
 
vidgej's Avatar
 
Posts: 23
Karma: 10
Join Date: Jan 2010
Device: Kindle 3
Quote:
Originally Posted by wallcraft View Post
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;
}
Thanks so much!
vidgej is offline   Reply With Quote