View Single Post
Old 09-30-2022, 01:21 PM   #3
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 769
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
Quote:
Originally Posted by RbnJrg View Post
In order to work you must enclose in quotes "new caledonia lt std" because of the spaces in the name (otherwise the reader won't find the font), so your code would be something like:

Code:
body {
/* Basic Styling for BODY Section of a File */
	font-family:   "new caledonia lt std", georgia, serif;
	height:	100%;
	margin:	0;
	orphans:	1;
	padding:	0;
	widows:	1;
}
Of course, instead of styling "inline", is better to style with the stylesheet because of that way, changes are easier to do. If in a future you decide to employ instead of "new caledonia lt std" let's say "Times New Roman", "Times" or whatever, then you need to do changes in only one place (the css stylesheet) by replacing:

Code:
font-family:  "new caledonia lt std", georgia, serif;
with

Code:
font-family:  "Times New Roman", georgia, serif;
Thanks, I'll make the switch then. And, good catch with my lack of quotes.
enuddleyarbl is offline   Reply With Quote