View Single Post
Old 02-23-2013, 01:51 PM   #26
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,367
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
<p class="specialfont">This goes at the beginning of paragraphs to which you want the special font applied.</p>

This goes in the stylesheet:
@font-face {font-family: yourFont; src: url('yourfontfile.ttf');}
p.specialfont {font-family:yourFont, cursive}

Replace:
yourFont with the name you want to use for your font
yourfontfile.ttf with the filename of your special font (.ttf/.otf, or .eot -for IE)
cursive with whatever fallback font you want to use if the reader doesn't have or support your embedded font. Make sure you surround the name with quotes if it has any spaces in it.


=======
Does that work Diap??
Turtle91 is offline   Reply With Quote