Ho cominciato a fare i primi esperimenti con il CSS e ho già i primi problemi. Spero che possiate aiutarmi perchè nn ho idea di cosa nn funzioni dato che sono stato attento il più possibile!


FILE 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=iso-8859-1" />
<title>Prova CSS</title>


<link href="Style.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div class="header"> DIV#1 - Header </div>

<div class="barranav"> DIV#2 - Header </div>

<div class="barranav"> DIV#3 - Header </div>


</body>
</html>


FILE CSS:

/* CSS Document */




.header{
color: #66CCFF;
background-color:#FFFFCC;
font-size: 20px;
text-align: center;
font-weight: bold;
}

.barranav{
color: #000;
background-color:#fff;
font-size: 12px;
text-align: justify;
}






A.barranav:link
{


font-family: serif;
font-size: 11px;
color: #FFFF00;

}



A.barranav:visited
{
font-family: serif;
font-size: 11px;
color: #66FF00;
}



A.barranav:hover
{
font-family: serif;
font-size: 11px;
color:#FF0000 ;
}



A.barranav:active
{
font-family: serif;
font-size: 11px;
color: #FF66CC;
}


I PROBLEMI:

1) la classe Header, nn fa il suo effetto e nn so perchè ( prima lo faceva, poi probl ho cambiato qualcosa in qualche punto e nn so cosa)

2) Le pseudo classi nn hanno il loro effetto sulla formattazione del testo, perchè?


P.S Sto usando Dreamweaver.