ecco l'html:
Codice HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Gaetano Lo Gatto</title>
<meta http-equip="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="IT">
<meta name= "description" content="Gaetano Lo gatto fotografo professionista">
<meta name="keywords" content="fotografo, fotografia, fotoritocco, book fotografici, nozze, matrimonio, matrimoni, sposa, sposo, sposi, foto,carrugi, scorci di vita, scorci, carrugi, vicoli,paesaggi, servizi, modelle, modelli, macchina fotografica, obiettivo">
<meta name "robots" content="index,follow">
<link href="gaetanologatto.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width='100%' > <!--tabella principale-->
<tr>
<td width='25%'>
<img src="http://forum.it.altervista.org/images/logo_fotogr.jpg" /> <!--logo-->
</td>
<td width='40%' align='center'>
<img src="http://forum.it.altervista.org/images/scritta-01.jpg" />
</td>
<td width='25%'>
</td>
</tr>
<tr >
<td valign='top'>
<img src="http://forum.it.altervista.org/images/info.jpg" /> <!--info-->
</td>
<td>
<table width="100%" height="800">
<tr>
<td align="center">
<a href="chisono.html" >
<div class="chisono">
</div>
</a>
</td>
<td align="center">
<a href="wedding.html" >
<div class="wedding">
</div>
</a>
</td>
<td align="center">
<a href="gallery.html" >
<div class="gallery">
</div>
</a>
</td>
<td align="center">
<a href="contatti.html" >
<div class="contatti">
</div>
</a>
</td>
</tr>
</table>
</td>
<td></td>
</tr>
</table>
</table>
</body>
</html>
ed ecco il css:
.contenitore{
position:relative;
top:1px;
height:900px;
width:100%;
}
.chisono{
position:static;width:245px;height:670px;left:7%;top:2%;
background-image:url(images/chisonoimg.jpg);
background-repeat:no-repeat;
background-position:center center;
}
.chisono:hover{
background-image:url(images/chisono_chiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.chisono a{
background-image:url(images/chisono_chiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.wedding{
position:static;width:245px;height:670px;left:7%;top:2%;
background-image:url(images/weddingscuro.jpg);
background-repeat:no-repeat;
background-position:center center;
}
.wedding:hover{
background-image:url(images/weddingchiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.wedding a{
background-image:url(images/weddingchiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.gallery{
position:static;width:245px;height:670px;left:7%;top:2%;
background-image:url(images/scorcio_img.jpg);
background-repeat:no-repeat;
background-position:center center;
}
.gallery:hover{
background-image:url(images/scorciochiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.gallery a{
background-image:url(images/scorciochiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.contatti{
position:static;width:245px;height:670px;left:7%;top:2%;
background-image:url(images/contact.jpg);
background-repeat:no-repeat;
background-position:center center;
}
.contatti:hover{
background-image:url(images/contattichiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}
.contatti a{
background-image:url(images/contattichiaro.jpg);
background-repeat:no-repeat;
background-position:bottom;
}