Hallo,
ich habe folgendes Problem: Firefox und andere Browser zeigen mir das Layout richtig an, aber der IE mal wieder nicht.. Kann mir da irgendjemand weiterhelfen?
CSS:
.banner {
height:25%;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #00CC33;
background-color: #009900;
}
.menu {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #00CC33;
background-color: #3333CC;
}
.template {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #00CC33;
background-color: #990033;
}
body {
height:100%;
margin:0px;
padding:0px;
}
html {
height:100%;
}
table{
border:0px;
table-layout:fixed;
width:100%;
height:100%;
margin:0px;
padding:0px;
border-collapse:collapse;
}
xhtml:
<!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=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<link href="test.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table>
<tr>
<td colspan="2" class="banner">Banner</td>
</tr>
<tr>
<td class="menu">Menü</td>
<td class="template">Template</td>
</tr>
</table>
</body>
</html>