scusate ecco l'intero codice CSS:
codice:
html,body
{
margin: 0px;
padding: 0px;
color: white;
background-color: #B0B3AF;
font-family: arial,sans-serif;font-size: 76%;text-align: center;
}
div#container
{
width: 800px; margin: 0; padding: 0; text-align: left;
border: 2px solid #36c; border-right: 2px solid #36c;
background-image: url(../texture1.gif);
}
div#header
{
text-align: center; font-size: 36px; color: white;
padding: 0.5 em; margin-bottom: 1em; background-image: url(../textureheader.gif);
}
div#navigation
{
float: left;
width: 13em;
margin-bottom: 60 em;
margin-top: 4 em;
}
div#content
{
margin-right: 6em;
margin-bottom: 20em;
text-align: justify;
font-size: 14px;
color: black;
}
div#footer
{
text-align:center; padding: 0.4em;
background-image: url(../textureheader.gif); color: white; font-size: 18px;
clear: left; margin-bottom: 0em;
}
div#navigation ul
{
list-style-type: none;
margin: 1em;
}
div#navigation li
{
margin: 2em;
}
div#footer ul
{
list-style-type: none;
}
div#path1
{
position: absolute;
top: 60px;
left: 240px;
font-size: 14px;
}
div#path1 a:link
{
color:black;
font-weight: bold;
text-decoration: underline;
}
div#path1 a:visited
{
color: black;
font-weight: bold;
text-decoration: underline;
}
div#navigation a:link
{
color: black;
font-size: 18px;
text-decoration: none;
}
div#navigation a:visited
{
color: black;
font-size: 18px;
text-decoration: none;
}
div#navigation a:hover
{
color: white;
font-size: 18px;
text-decoration: underline;
background-color: black;
}
div#content a:link
{
color: blue;
text-size: 16px;
weight: bold;
text-decoration: none;
}
div#content a:visited
{
color: blue;
text-size: 16px;
weight: bold;
text-decoration: none;
}
comunque, ti consiglio anche di definire quel "NOME SITO" che cos'è (es un h, un p ...)
è già definito, no? E' del testo inserito dentro il contenitore DIV. Sbaglio?