Comunidad de diseño web y desarrollo en internet online

Reconocimiento tipo de fuente del CSS en Chrome

Citar            
MensajeEscrito el 25 Abr 2010 06:49 pm
Hola a todos y desde ya gracias por la ayuda!

El inconveniente que tengo es que navegadores como Google Chrome y Opera no reconocen la primera regla de clase de las dos que contiene el CSS para dar formato a los textos. Creo que el problema puede venir por la codificación de caracteres en charset.

Ya estuve buscando en foros y leyendo los tutoriales de la página de Google Chrome sobre estos problemas pero no doy con la solución.

Les dejo los códigos html y css que uso para ir probando. Perdón si han respondido a este problema y no encontré la respuesta. Gracias!

Código HTML :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
<link href="trebuchet.css" rel="stylesheet" type="text/css" />
</head>
 
<body>
<p class="trebuchet2">Prueba fuente título</p>
<p class="trebuchet">Prueba fuente párrafo</p>
</body>
</html>


Código :

@charset "utf-8";
/* CSS Document */
.trebuchet {
    font-family: "Trebuchet MS";
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    color: #000000;
    letter-spacing: normal;
    text-align: justify;
    text-indent: 0px;
    vertical-align: baseline;
    word-spacing: normal;
    white-space: normal;
}
.trebuchet2 {
    font-family: "Trebuchet MS";
    font-size: 24px;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    color: #585858;
    letter-spacing: normal;
    text-align: right;
    text-indent: 0px;
    vertical-align: baseline;
    word-spacing: normal;
    white-space: normal;
}

Por rdaniele

1 de clabLevel



 

chrome
Citar            
MensajeEscrito el 25 Abr 2010 08:12 pm
Amigo, lo acabo de probar en Google Chrome y en IE8 y en ambos sirve...

saludos!

Por Quarterback

171 de clabLevel

1 tutorial

Genero:Masculino  

Santa Marta, Colombia

msie7
Citar            
MensajeEscrito el 26 Abr 2010 05:53 pm
Gracias Quarterback por la atención!

Saludos

Por rdaniele

1 de clabLevel



 

chrome

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.