Hallo,
ich habe hier ein einfaches table-gebilde aber der netscape zeigt das ganze falsch an. Er zeigt nicht die richtige Höhe für das oberste <tr> an.
Weiß jemand warum ?
hier der inhalt:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#00005E">
<div id="inhalt">
<table width="800" height="500" border="2" align="center" bordercolor="#00005E" bgcolor="#FFFFFF" >
<tr>
<td height="85" colspan="6"><img src="logo.gif" width="187" height="42">
</td>
</tr>
<tr>
<td id="nav">Wer sind wir</td>
<td id="nav">Was bieten wir</td>
<td id="nav">Referenzen</td>
<td id="nav">Kontakt</td>
<td id="nav">AGB`s</td>
<td id="nav"></td>
</tr>
<tr>
<td colspan="6">
<p> </p></td>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</div>
</body>
</html>
Mit einer style-datei:
/* CSS Document */
#inhalt { position: absolute;
top: 10%; left: 10%;
width: 80%; height: 80%;
background-color:#000057;
font-family:'futura Lt BT',times;
font-size:18px;
color:#00005E;
text-decoration:strong;
}
#nav {width:133;
height:23;
text-align:center;
text-decoration:strong;
}
tschö