Click here to Skip to main content
15,905,558 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi frnds,
I developed Aspx .net Project and add some fonts with project. Fonts working while running application without publish. After published Aspx .net website ,I run in online and IIS, but font is not working.
I added below font in test.css and called to that page also
CSS
@font-face {
    font-family: 'RobotoRegular';
    src: url('Roboto-Regular-webfont.eot');
    src: url('Roboto-Regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('Roboto-Regular-webfont.woff') format('woff'),
         url('Roboto-Regular-webfont.ttf') format('truetype'),
         url('Roboto-Regular-webfont.svg#RobotoRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
Posted
Updated 31-Aug-13 2:33am
v2
Comments
[no name] 31-Aug-13 8:43am    
I know this is a silly question but did you publish the font files along with your application?
itsureshuk 31-Aug-13 8:49am    
before publish i changed all fonts properties Bulid Action---->Content
abbaspirmoradi 31-Aug-13 9:06am    
Hey dear @itsureshuk Are you try run your App Pages with Ctrl+F5?
itsureshuk 31-Aug-13 9:25am    
ya i did but font is not working.
abbaspirmoradi 31-Aug-13 9:54am    
clear all cashed into your browser data and try again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900