Scusami ancora ma non riesco ancora a cavarne piede. Sono alle prime fasi con il linguaggio html. Dove lo inserisco? Ti posto il codice html su cui sto lavorando:
<!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=utf-8" />
<title>Mezzi di Soccorso</title>
<style type="text/css">
body {
width: 100%;
margin: 0px;
padding: 0px;
background-image: url(sfondomezzi7.jpg);
background-repeat: no-repeat;
}
#contenitore{
width: 300px;
height: 200px;
margin-left: 60px;
margin-top: 300px;
background-image:url(ambulanza.jpg);
background-repeat: no-repeat;
background-position: left;
}
#contenitore span{
/*ambulanza*/
display:block;
width:300px;
height:200px;
position:absolute;
line-height: 200px;
text-align:center;
top:0;
left:0;
z-index:1;
opacity:0;
}
#contenitore:hover{
opacity: 0.5;
}
#contenitore1{
width: 300px;
height: 200px;
background-image:url(internoambulanza.jpg);
background-repeat: no-repeat;
background-position: center;
margin-top: -200px;
margin-left: 430px;
}
#contenitore1:hover{
-webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
-ms-transition: all 200ms ease-in-out;
-o-transition: all 200ms ease-in-out;
background-position: center;
opacity: 0.5;
}
#contenitore2{
width: 300px;
height: 200px;
background-image:url(prociv.jpg);
background-repeat: no-repeat;
background-position: right;
margin-top: -200px;
margin-left: 800px;
}
#contenitore2:hover{
-webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
-ms-transition: all 200ms ease-in-out;
-o-transition: all 200ms ease-in-out;
background-position: right;
opacity: 0.5;
}
</style>
</head>


<body>
<div id="contenitore"></div>
<div id="contenitore1"></div>
<div id="contenitore2"></div>
</div>
</body>
</html>