Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Pessoal,
não manjo muito de CSS (talvez por isso não esteja funcionando).
Criei um arquivo .css q está na mesma pasta da página e adicionei ele como link na página que quero usar; no Dreamweaver qdo visualizo a página em construção no modo design, ela assume corretamente as configurações do CSS, mas no IE 8 e no FF 3, só assume a propriedade de tamanho, as demais não (no Chrome funciona normal).
O que pode ser?
Abaixo códigos:
Página
<!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">](http://www.w3.org/1999/xhtml)
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="estilo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>TÍTULO</h1>
<h2>SUBTÍTULO</h2>
<p>Corpo</p>
</body>
</html>
CSS
@charset "charset=iso-8859-1";
/ CSS Document /
h1 {
font-family: "Trebuchet MS";
font-size:18px;
font-weight: bold;
color: #000000;
text-align: justify;
} font-family: "Trebuchet MS";
font-size:14px;
font-weight: bold;
color: #000000;
text-align: justify;
} color:#000000;
font-weight: normal;
font-style: normal;
text-align: justify;
text-indent: 20px;
font-size: 14px;
font-family: "Trebuchet MS";
} text-decoration: none;
color: #000;
} text-decoration: none;
color: #000;
} text-decoration: none;
color: #000;
} text-decoration: none;
color: #000;
}Vlw !!!
Carregando comentários...