Husk at der helst skal max-height på også.
<!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>Height 100%</title>
<style>
html {
height: 100%;
max-height: 100%;
}
body {
height: 100%;
max-height: 100%;
margin: 0;
}
</style>
</head>
<body style="background:#000066">
<table cellpadding="0" cellspacing="0" width="800" height="100%" align="center" style="background: #0066FF">
<tr>
<td style="color:#FFFFFF; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center">
Dette er en side i height 100 %...
</td>
</tr>
</table>
</body>
</html>
Indlæg senest redigeret d. 07.11.2007 04:36 af Bruger #12754