Re: Downloadable fonts and image replacement

Also sprach fantasai:

 > >   h1 {
 > >     content: url(img/100x100.gif), contents;
 > >     font-family: url(/fonts/goodfish.zip), serif;
 > >   }

 > You're missing an important part of the usual set of preferences:
 > Usually you want to /preferably/ use the font installed on the system,
 > if it's there. Any proposal needs for resolving this conflict needs
 > to address that as well..

Sure, that's easy, you just add the font family name:

  h1 {
    content: url(img/100x100.gif), contents;
    font-family: "Goodfish", url(/fonts/goodfish.zip), serif;
  }

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Monday, 1 May 2006 13:08:13 UTC