grazie per l'accorgimento,con capisco perchè non te lo faccia aprire, cmq il codice è questo
HTML
codice:
<!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>
<link rel="stylesheet" type="text/css" href="style.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento senza titolo</title>
</head>
<body bgcolor="#CCCCCC">
<font face="Verdana, Geneva, sans-serif">
<section>
<div class="logo">[img]img/logo.jpg[/img]</div>
<div class="spazio"></div>
<div class="bottone">HOME</div>
<div class="bottone">CHI SIAMO</div>
<div class="bottone">COLLEZIONI</div>
<div class="bottone">CONTATTI</div>
</section>
</font>
</body>
</html>
CSS
codice:
@charset "utf-8";
/* CSS Document */
.bottone {
background-color: #ff9f00;;
-webkit-transition-property: background-color #FFF; /*Safari e Chrome */
-webkit-transition-duration: 1s;
}
.bottone {
background: #FFF;
}
body{
margin: auto;
}
section{
margin: auto;
width: 80%;
}
.bottone {
float: left; /*Mostra in linea*/
list-style-type: none;
width: 120px;
padding-top: 50px;
padding-bottom: 50px;
background-color: #FBFBFB;
text-align: center;
}
.bottone:hover{
background:#C0C0C0;
}
a {
text-decoration: none;
color: black;
}
.spazio {
float: left;
width: 100px;
padding-top: 50px;
padding-bottom: 50px;
background-color: #FBFBFB;
text-align: center;
}
.logo {
float: left; /*Mostra in linea*/
list-style-type: none;
float: inherit;
background-color: #FBFBFB;
text-align: center;
}