I'm trying this code For the @fontface :
I'm using the font in a class named demo :Code:@font-face { font-family: 'MothnnaFont'; src: url('fonts/mothnna.eot'); /* IE9 Compat Modes */ src: url('fonts/mothnna.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/mothnna.woff') format('woff'), /* Modern Browsers */ url('fonts/mothnna.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/mothnna.svg#svgMothnnaFont') format('svg'); /* Legacy iOS */ }
This code is working on ie but it's not working on firefox 10 or chrome 17Code:.demo { font-family:'MothnnaFont',Sans-Serif; width:800px; margin:10px auto; text-align:center; border:1px solid #666; padding:10px; direction: rtl; }
So anybody can help me to make this font appear a cross all browsers ?


Reply With Quote






Bookmarks