jasonc Posted March 10, 2010 Share Posted March 10, 2010 I wish to set a default font-family for all text in a page without having to add CSS id or class to all of the text. How is this done? I have tried the following but it does not work. font { font-family: Tahoma,georgia,garamond,serif; } Link to comment https://forums.phpfreaks.com/topic/194747-how-to-set-default-font-for-web-page/ Share on other sites More sharing options...
jasonc Posted March 10, 2010 Author Share Posted March 10, 2010 <body style="font-family: Tahoma,georgia,garamond,serif;"> Link to comment https://forums.phpfreaks.com/topic/194747-how-to-set-default-font-for-web-page/#findComment-1024122 Share on other sites More sharing options...
XeNoMoRpH1030 Posted March 10, 2010 Share Posted March 10, 2010 That, or you can do it from CSS body { font-family: Tahoma,georgia,garamond,serif; } Link to comment https://forums.phpfreaks.com/topic/194747-how-to-set-default-font-for-web-page/#findComment-1024332 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.