<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="aggiungi.css">
<style type="text/css">
#intestazione
{
width:100%;
height:100px;
background: red;
position:absolute;
font-family: Comic Sans MS;
top:0px;
left:0px;
text-align: center;
}
#footer
{
position: fixed;
bottom: 0;
left: 0;
text-align: center;
background: red;
color: black;
font-family: Comic Sans MS;
font-size: 15px;
width: 100%;
/* padding: 5px 0;*/
opacity: 0.9;
-moz-opacity: 0.9;
filter: alpha(opacity=90);
}
.ClasseDelDiv{
display:inline;
margin : 33%;
}
</style>
</head>
<header>
<div id = "intestazione">
<h1>Gestione Eliminacode</h1>
<hr>
</div>
<div id = "divhr">
<script type="text/javascript">
var x=0;
function incrementa() {
document.getElementsByClassName('count')[0].innerHTML = ++x;
}
</script>
</head>
<body>
</dr>
<div align ="center" >
<button type="button" style="width:200px; height:200px;" value="Wow!"class="button" onclick="incrementa(x)" >
<div class="count">
<script language="JavaScript">
document.write(x);
</script>
</div>
</header>
<body>
</div> </div>
<footer>
<div id ="footer">
<hr>
<h1>Grazie per averci scelto....</h1>
</hr>
</div>
</div>
</footer>
<?php
echo "</hr>";
?>
</body>
</html>