Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá Amigos.
É a primeira vez que tenho que usar CCS em um conjunto de páginas que eu mesmo fiz e gostaria de poder contar com a ajuda de vocês para sanar um problema que estou tendo aqui.
Seguinte:
o arquivo, chamado 'estilo' (sem extensão nenhuma...) é o seguinte:
-----------------------
.fonte {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
background-color: #336699;
border-top: 1px none #FFFFFF;
border-right: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;
}
.fonte1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #336699;
}
.fonte2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #336699;
}
.combo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
display: inline;
width: 280px;
}
.texto {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
}
.borda {
border: 2px solid #336699;
}
.link {
text-decoration: underline;
line-height: normal;
color: #FFFFFF;
font-style: normal;
}
.form {
display: inline;
}
.titulo {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
}
---------------------------------------------------
e uma parte do código php é o seguinte:
---------------------------------------------------------------
...
...
...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>INDEX</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="estilo" rel="stylesheet" type="text/css">
</head>
...
...
...
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center"></div>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="borda">
<tr>
<td width="1151" height="05">
<div align="center">
<p></p>
</div></td>
</tr>
<tr>
<td height="40" valign="top">
<table width="100%" height="40" border="0" cellpadding="0" cellspacing="0">
<tr class="fonte">
<td bgcolor="#336699" width="37%" height="20" class="fonte"><b>Conta</b></td>
<td bgcolor="#336699" width="63%" class="fonte"><b>Exibir</b></td>
---------------------------------------------------------------------------------------------------------
Alguém, por favor, poderia me dizer o que acontece que o estilo não funciona no browser.?
Obrigado desde já.
Carregando comentários...