Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/02/2012, 08:21
Avatar de rigobcastro
rigobcastro
 
Fecha de Ingreso: febrero-2012
Ubicación: Lejanías
Mensajes: 69
Antigüedad: 12 años, 2 meses
Puntos: 21
Respuesta: Problema con @font-face

El snippet del @font-face

Código:
@font-face {
	font-family: 'MyWebFont';
	src: url('webfont.eot'); /* IE9 Compat Modes */
	src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('webfont.woff') format('woff'), /* Navegadores Modernos */
	     url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
	     url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
	}
y su uso:

Código:
body {
       font-family: 'MyFontFamily', Fallback, sans-serif;
}
Si necesitas un buen generador usa http://www.fontsquirrel.com/fontface/generator