Cheesefish
Ensign
- Registriert
- Dez. 2006
- Beiträge
- 128
Hallo Zusammen
Ich hab hier mal n kleines problem und weiss einfach nicht weiter.
Hier mal der Quelltext
Im Firefox funktioniert alles tip top.
Im Internet Explorer kann man ca 3cm nach unten scrollen.
Entfernt man folgende Zeile:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Funktioniert es wieder. Dafür andere Elemente im Firefox 2.0 falsch angezeigt.
Wer kann mir helfen?
MfG Cheesefish
Ich hab hier mal n kleines problem und weiss einfach nicht weiter.
Hier mal der Quelltext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
<style>
*{
margin:0px;
padding:0px;
}
html,body{
height:100%;
}
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" height="100%" width="100%" border="0">
<tr>
<td style="background-color:red;" height="50px"> </td>
</tr>
<tr>
<td style="background-color:black;" height="100%"> </td>
</tr>
<tr>
<td style="background-color:green;" height="50px"> </td>
</tr>
</table>
</body>
</html>
Im Firefox funktioniert alles tip top.
Im Internet Explorer kann man ca 3cm nach unten scrollen.
Entfernt man folgende Zeile:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Funktioniert es wieder. Dafür andere Elemente im Firefox 2.0 falsch angezeigt.
Wer kann mir helfen?
MfG Cheesefish