css - @font-face is not working -


i having hardest time getting @font-face load site. 1 know going on?

i tried using css font squirrel didn't work either tried simpler code hoping work, no luck far.

older css (did not work)

@font-face {  font-family: 'cartogothicstdbold';  src: url('cartogothicstd-bold-webfont.eot');  src: local('☺'), url('cartogothicstd-bold-webfont.woff') format('woff'), url('cartogothicstd-bold-webfont.ttf') format('truetype'), url('cartogothicstd-bold-webfont.svg#webfontuvgrkg9v') format('svg');  font-weight: normal;  font-style: normal; } 

newer css (still doesn't work)

@font-face { font-family: 'cartogothicstdbold';  src: url(css/fonts/cartogothicstd-bold.otf) format("opentype"); }   .b-nb {  float: left;  width: 100%;  font-size: 1.25em;  color: grey;  font-family:'cartogothicstdbold', serif; } 

i testing here: http://drewlepp.com/testing/laa/laa%20studio/index.html

thanks!!!!

old question, i'll point correct answer anyway (in case else stumbles on this)

the older css looks fine me. if you're using ie9 , using private font, you'll see error in ie9's console. need bloke has done here: @font-face works in ie8 not ie9


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -