How to use different font in codeigniter |
[eluser]Devon Lambert[/eluser]
[quote author="Roy MJ" date="1298897374"]The tutorial uve given is helpful only till converting the font to the required type and i am having that myself. Its talkin abt java while im using php. Have u embedded any font in ur projects??[/quote] Hey Roy, Yes I have, and this is the exact same tutorial I used to do it. I think you may be getting confused here. Fonts have nothing to do with your back end per se. In other words you just need to use the proper front end code, system, flash, javascript, etc.. to make them work. The tutorial I provided walks you step by step on how to do this for font-face. which I believe is the CSS solution you are after. You should read it in detail. Here's a quick cheat sheet for the declaration of the fonts in your stylesheet/css file. Code: @font-face{ Once this declaration is in place you would simply make use of it in your styles by calling Code: font-family: 'your-font-name', Arial, Serif; The tutorial provides more information in greater detail but hopefully you get the gist. |
Messages In This Thread |
How to use different font in codeigniter - by El Forum - 02-27-2011, 11:47 PM
How to use different font in codeigniter - by El Forum - 02-28-2011, 12:13 AM
How to use different font in codeigniter - by El Forum - 02-28-2011, 12:29 AM
How to use different font in codeigniter - by El Forum - 02-28-2011, 12:49 AM
How to use different font in codeigniter - by El Forum - 02-28-2011, 01:00 AM
How to use different font in codeigniter - by El Forum - 02-28-2011, 01:08 AM
How to use different font in codeigniter - by El Forum - 02-28-2011, 05:18 AM
|