Torna al Thread
<!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>Senza nome 5</title>
<style type="text/css">
.centered {
position: absolute;
top: 50%;
left: 50%;
margin-top: -75px;
margin-left: -120px;
background-color:#666666;
}
*>div.centered {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 600px;
height: 300px;
margin: auto;
background-color:#666666;
}
</style>
</head>
<body>
<div id="centered" class="centered"></div>
</body>
</html>