Ciao a tutti, volevo essere più chiara nella formulazione del titolo ma non ci sono riuscita perchè il mio problema è che non mi funziona un css e non so perchè.
Magari ho sbagliato a scrivere il codice, magari ho sbagliato la stringa di richiamo del css in php.
Vi posto tutto il codice e spero che possiate aiutarmi.
pagina.css
codice:
/* CSS Document */
.bottone{
background-color: rgb(17,79,147);
font: 12px Verdana;
font-weight :bold;
color: #FFFFFF;
}
.bb {
font: 12px Verdana, Helvetica, sans-serif;
color: white;
background-color:#666699;
}
.bg{
font: 12px Verdana, Helvetica, sans-serif;
color: black;
background-color:#CCCCCC;
}
A:LINK {
color : Blue;
text-decoration: none
}
A:VISITED {
color : Black;
text-decoration: none
}
A:HOVER {
color : Pink;
text-decoration : underline;
}
A:ACTIVE {
color : Pink;
text-decoration: underline
}
A#titolo:LINK {
color : #000066;
text-decoration: none
}
A#titolo:VISITED {
color : Blue;
text-decoration: none
}
A#titolo:HOVER {
color : Pink;
text-decoration : underline;
}
A#titolo:ACTIVE {
color : Pink;
text-decoration: underline
}
pagina.php
Codice PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<link rel="stylesheet" type="text/CSS" href="prova.css">
<?php
include "include/connect.php";
session_start();
$con=oci_connect($user, $pass, $host);
?>
<table>
<thead>
<tr>
<th colspan='2' class='bb'>Autenticati</th>
</tr>
<tr>
<th colspan='2' class='bb'></th>
</tr>
</thead>
<tbody>
<?php
echo("<form action='login.php' method='POST'>");
echo("<tr>");
echo("<td class='bg'>Nome utente: </td>");
echo("<td class='bg'><input type='text' maxlength='100' name='username' size='100'></td>");
echo("</tr>");
echo("<tr>");
echo("<td class='bg'>Password: </td>");
echo("<td class='bg'><input type='password' maxlength='100' name='pwd' size='100'></td>");
echo("</tr>");
echo("<tr>");
echo("<td class='bg'>ROOT: </td>");
$data_odierna=date("d-m-Y");
$query_rt=oci_parse($con,"select id, anno, descrizione from tabella
where attivo='S' and
dataa <= '$data_odierna' and
datac >= '$data_odierna'");
oci_execute($query_rt); $i=0; $codice=array(); $descrizione=array();
while($riga=oci_fetch_array($query_rt, OCI_NUM + OCI_RETURN_NULLS)){
$codice[$i]=$riga[0]."-".$riga[1];
$descrizione[$i]=$riga[2];
$i++;
}
$tot=sizeof($codice);
echo("<td class='bg'>
");
echo("<select name='ringtest' width='80'>");
echo("<option value=''>
");
for($q=0;$q<$tot;$q++){
echo("<option value='$codice[$q]'>".$descrizione[$q]."
");
}
echo("</select>
");
echo("</td>");
echo("</tr>");
echo("<tr><td colspan='2' class='bg'></td></tr>");
echo("<tr>");
echo("<td class='bg'></td>");
echo("<td class='bg'><input class='bottone' type='submit' value='Accedi' style=\"cursor:pointer;cursor:hand;\"></td>");
echo("</tr>");
echo("</form>");
?>
</tbody>
</table>
</html>
Aiutatemi 
Grazie