Originariamente inviato da Toniello
Oppure, puoi mettere all'inizio del tag <body>
<table align="center">
<tr>
<td>
TUTTO IL SITO
</td>
</tr>
</table>
Oppure
<div algin="center">
Tutto il sito
</div>
Oppure come ti ha consigliato il tag <center>
due metodi osceni
il tag <center> pensavo che non venisse neppure più letto dai browser
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style type="text/css">
html,body { margin: 0 auto; padding: 0; }
body { text-align: center; }
</style>
</head>
<body>centrato</body>
</html>