View Single Post
Old 03-14-2009, 11:20 AM   #25
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
first question : be careful with your code : for "font family", you should use the name of the font family, not the specific font type, so "Times" instead of "Times bold" (etc.) and it should be the same name for all variants of the font (regular, bold, italic). then you have to give this same font family name in the "body" rule. then, the italic and bold variants should be used automatically when you specify "em" and "strong" in the markup.

second question : i think you need to make new rules for all additional fonts, and define them the same way you did for times, and then try creating a css class (like ".mono" or ".code") which says to use the font ; then use a "span class" selector to specify when you want to use the monospace fonts.
zelda_pinwheel is offline   Reply With Quote