precisazione...
il file html è contenuto nella cartella Prova/home.html, mentre il file css.css è presente in Prova/Css/css.css. In quer'ultima cartella c'è anche il file 152.gif che è lo sfondo.
il css.css è creato così (non so se è giusto perchè fino ad adesso ho creto css incorporati, non in un altro file.):
<STYLE>
.TitCol
{
Font-Family: Arial;
Font-Size: 16pt;
Font-Weight: Bold;
Text-Align: Center;
Color: White;
'Background-Color: Yellow;
}
</STYLE>
<STYLE>
.S
{
'Background-Image: URL(152.Gif);
background-image: url(152.gif);
}
</STYLE>
Vengono così chiamati all'interno del file html:
<BODY Class="S">
<DIV Class="TitCol">COLLEGAMENTI:</DIV>
PROBLEMA: mentre il div funziona, non va con il body.
Premetto che lo stesso css creato (incorporato tra head e /head) nel file home.html funziona. Ho provato a togliere Style e /Style ma non funziona lo stesso. come devo fare?ù
grazie ciao