()
Newbie
Messaggi:
Iscritto:
|
Salve a tutti,
Uso questo CSS nelle mie pagine web:
http://ateam.altervista.org/Styles/PageStyle.css
Il problema č che @font-face non c'č verso di farlo andare!
Se lo metto nel foglio di stile, non funziona, se invece lo metto dopo @import nella pagina HTML, funziona.
In poche parole:
Codice sorgente - presumibilmente Plain Text |
<style type="text/css">
@import url(/Styles/PageStyle.css);
@font-face {
font-family: 'Blockography';
src: url(/Styles/Blockography.eot);
src: local('Blockography'), url('/Styles/Blockography.ttf') format('truetype');
}
</style>
|
Cosė funziona
Codice sorgente - presumibilmente Plain Text |
<style type="text/css">
@import url(/Styles/PageStyle.css);
/*@font-face {
font-family: 'Blockography';
src: url(/Styles/Blockography.eot);
src: local('Blockography'), url('/Styles/Blockography.ttf') format('truetype');
}
*/
</style>
|
Cosė non funziona
Perchč fa cosė? Come posso farlo andare nel foglio di stile? Ultima modifica effettuata da il 06/04/2011 alle 16:13 |