![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/11/2017, 15:55
|
| | Fecha de Ingreso: julio-2014
Mensajes: 59
Antigüedad: 10 años, 6 meses Puntos: 0 | |
Respuesta: Leer fuente css desde servidor Cita:
Iniciado por domichis En eso tienes razón sin embargo sigue sin leer la fuente Código HTML: <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html" />
<title>Fuente</title>
</head>
<body>
<style>
@font-face {
font-family: mifuente;
src: url('http://localhost/fuentes/YanoneKaffeesatz-Light.ttf');
}
p {
font-family: mifuente;
font-size: 150px;
}
</style>
<p>Hola Este es mi tipo de fuente</p>
</body>
</html> He intentado asi:
font-family: mifuente;
font-family: "mifuente";
font-family: 'mifuente'; |