IE does not understand the type



  • @font-face {
        font-family:'MyriadPro-Cond';
        src: url('fonts/MyriadPro-Cond.eot');
        src: local('☺'), url('fonts/MyriadPro-Cond.woff') format('woff'), url('fonts/MyriadPro-Cond.ttf') format('truetype'), url('fonts/MyriadPro-Cond.svg') format('svg');
    }
    

    So I'm declaring a print, and he, this stupid IE, doesn't know what I want from him! Tell me what to do.



  • http://htmlbook.ru/css/font-face

    IE can try to separate so that there's no confusion:

    <!--[if IE]>
      <style>
        /* только для Internet Explorer */
        @font-face {
           font-family:'MyriadPro-Cond';
           src: url('fonts/MyriadPro-Cond.eot');
        }
      </style>
    <![endif]-->
    <!--[if !IE]>
      <style>
        /* для всех остальных браузеров */
        @font-face {
          font-family:'MyriadPro-Cond';
          src: local('☺'), url('fonts/MyriadPro-Cond.woff') format('woff'), url('fonts/MyriadPro-Cond.ttf') format('truetype'), url('fonts/MyriadPro-Cond.svg') format('svg');
        }
      </style>
    <![endif]-->
    

    And I'd like to suggest aice. http://code.google.com/intl/ru-RU/apis/webfonts/ there and http://code.google.com/intl/ru-RU/apis/webfonts/docs/getting_started.html#Quick_Start Yes. And by the way, they can even be made autonomous.

    I use RaphaelJS myself. http://raphaeljs.com/reference.html#Paper.print ) in contact http://cufon.shoqolate.com/generate/ ♪


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2