mi potreste controllare il codice x favore? come footer ho un'imagine che non riesco a visualizzare mi sa che ho fatto dei casini...
xhtml:
---------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>La mia prima pagina XHTML</title>
<link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
<div id="container" class="container">
<div id="cont_banner" class="cont_banner">
[img]banner.jpg[/img] </div>
<div id="cont_menu" class="cont_menu">
HOME
Chi siamo
Dove siamo
Contatti
</div>
<div id="corpo" class="corpo">
</div>
<div id="footer" class="footer">
</div>
</div>
</body>
</html>
-----------------
css
-----------------
/* CSS Document */
body {
text-align:center;
margin-top:0px;}
div.container{
height:1000px;
width:800px;
margin:auto;
background-color:#beff41;
}
div.cont_banner{
height:210px;
margin-left:0px;
margin-right:0px;
}
div.cont_menu{
height:50px;
width:784px;
margin:auto;
}
a.nav, a.nav:link, a.nav:visited {display:block; width:196px; height:50px; background-image:url(a.jpg); margin-top:0px; text-align:center;
text-decoration:none; font-family:"Courier New", Courier, mono; font-weight: bold;font-size:16px; color:#fff; line-height:50px;
overflow:hidden; float:left;}
a.nav:hover {color:#000; background-image:url(b.jpg);}
a.nav:active {color:#000; background-image:url(a.jpg);}
div.corpo{
height:709px;
whidth:784px;
margin:auto;
}
div.footer{
background-image:url(footer.jpg);
}
grazieeeeeeeeeeeeeeeeeeeeeeeeeeeeee