posto il codice
Codice PHP:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
html, body {
height: 100%;
}
#imagecontainer {
height: 100%;
text-align: center;
}
img {
height: 100%;
width: auto;
}
#header {
position: absolute;
top: 0px;
width: 100%
height: 20px;
}
#footer {
position: absolute;
bottom: 0px;
width: 100%;
height: 20px;
}</style>
</head>
<html>
<body>
<div id="header"></div>
<div id="imagecontainer">
[img]images/01.jpg[/img]</img>
</div>
<div id="footer"></div>
</body>
</html>