Warum sieht die Tabelle mit der Überschrift in Mozilla anders aus als es soll:
hier: epfan.ihzekuh.de
HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1240">
<title>Seite 1</title>
</head>
<body style="text-align: center">
<div style="position: absolute; width: 948px; height: 187px; z-index: 1; left:53px; top:-78px" id="Ebene1" align="left">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Dynamisch Navigationsleisten auch im IE einblenden</title>
<style type="text/css">
body, p a {
font: normal 100.01% Helvetica, Arial, sans-serif;
color: black; background-color: #0066CC;
}
div#Rahmen {
width: 9em;
padding: 0.8em;
border: px solid black;
background-color: #0066CCr;
}
* html div#Rahmen { /* Korrektur fuer IE 5.x */
width: 48.7em;
w\idth: 47.1em;
}
div#Rahmen div {
clear: left;
}
ul#Navigation {
margin: 0; padding: 0;
text-align: center;
}
ul#Navigation li {
list-style: none;
float: left; /* ohne width - nach CSS 2.1 erlaubt */
position: relative;
margin: 0em; padding: 0;
}
* html ul#Navigation li { /* Korrektur fuer den IE */
margin-bottom: -0.4em;
}
ul#Navigation li ul {
margin: 0; padding: 0;
position: absolute;
top: 1.6em; left: -0.4em;
display: none; /* Unternavigation ausblenden */
}
* html ul#Navigation li ul { /* Korrektur fuer IE 5.x */
left: -1.5em;
lef\t: -0.4em;
}
ul#Navigation li:hover ul {
display: block; /* Unternavigation in modernen Browsern einblenden */
}
ul#Navigation li ul li {
float: none;
display: block;
margin-bottom: 0.2em;
}
ul#Navigation a, ul#Navigation span {
display: block;
width: 9em; /* Breite den in li enthaltenen Elementen zuweisen */
padding: 0.15em 1em;
text-decoration: none; font-weight: bold;
border: 1px solid black;
border-left-color: #ffcc00; border-top-color: #ffcc00; border-right-color: #ffcc00; border-bottom-color: #ffcc00;
color: #ffcc00; background-color: #0000FF;
}
* html ul#Navigation a, * html ul#Navigation span {
width: 9em; /* Breite nach altem MS-Boxmodell fuer IE 5.x */
w\idth: 11em; /* korrekte Breite fuer den IE 6 im standardkompatiblen Modus */
}
ul#Navigation a:hover, ul#Navigation span, li a#aktuell {
border-color: white;
border-left-color: #ffcc00; border-top-color: #ffcc00; border-right-color: #ffcc00; border-bottom-color: #ffcc00;
color: #ffcc00; background-color: 3300CC;
}
li a#aktuell { /* aktuelle Rubrik kennzeichnen */
color: maroon; background-color: silver;
}
ul#Navigation li ul span { /* aktuelle Unterseite kennzeichnen */
background-color: maroon;
}
</style>
<script type="text/javascript">
if(window.navigator.systemLanguage && !window.navigator.language) {
function hoverIE() {
var LI = document.getElementById("Navigation").firstChild;
do {
if (sucheUL(LI.firstChild)) {
LI.onmouseover=einblenden; LI.onmouseout=ausblenden;
}
LI = LI.nextSibling;
}
while(LI);
}
function sucheUL(UL) {
do {
if(UL) UL = UL.nextSibling;
if(UL && UL.nodeName == "UL") return UL;
}
while(UL);
return false;
}
function einblenden() {
var UL = sucheUL(this.firstChild);
UL.style.display = "block"; UL.style.backgroundColor = "0066CC";
}
function ausblenden() {
sucheUL(this.firstChild).style.display = "none";
}
window.onload=hoverIE;
}
</script>
</head>
<body style="text-align: center">
<h1 id="Beispiel">Dynamisch Navigationsleisten auch im IE einblenden</h1>
<div id="Rahmen" style="width: 900px; height: 94px"><ul id="Navigation">
[*][url='Überblick.htm']Überblick[/url]
[*][url='Park.htm']Park[/url]
<ul style="position: absolute; left: 0px; top: 26px">
[*][url='attraktionen.htm']Attraktionen[/url]
[*][url='shows.htm']Shows[/url]
[*][url='themenbereiche.htm']Themenbereiche[/url]
[*][url='shopping.htm']Shopping[/url]
[*][url='gastronomie.htm']Gastronomie[/url]
[/list]
[*][url='infos.htm']Infos[/url]
<ul style="position: absolute; left: 0px; top: 26px">
[*][url='eintritsspreise.htm']Eintrittspreise[/url]
[*][url='wetter.htm']Wetter[/url]
[*][url='events.htm']Events[/url]
[*][url='öeffnungszeiten.htm']Öffnungszeiten[/url]
[*][url='anfahrt.htm']Anfahrt[/url]
[*][url='tipps.htm']Tipps[/url]
[/list]
[*][url='sonstiges.htm']Sonstiges[/url]
<ul style="position: absolute; left: 0px; top: 26px">
[*][url='forum.htm']Forum[/url]
[*][url='fans.htm']Fans[/url]
[*][url='ep%20im%20tv.htm']EP im TV[/url]
[*][url='downloads.htm']Downloads[/url]
[*][url='umfragen.htm']Umfragen[/url]
[*][url='rätsel.htm']Rätsel[/url]
[/list]
[*][url='impressum.htm']Impressum[/url]
<ul style="position: absolute; left: 0px; top: 26px">
[*][url='gästebuch.htm']Gästebuch[/url]
[*][url='kontakt.htm']Kontakt[/url]
[*][url='webmaster.htm']Webmaster[/url]
[*][url='links.htm']Links[/url]
[/list]
</div>
</div>
</p>
</p>
<p align="center">
<table border="1" width="95%" bordercolor="#FFFFFF" style="border-collapse: collapse" background="tabelle.gif" cellpadding="0">
<tr align="center">
<td>
<table border="1" width="100%" background="überschrift.jpg" style="border-collapse: collapse" cellspacing="1" bordercolor="#FFFFFF" bordercolor="#FFFFFF">
<tr>
<td>
<p align="center">[b]Info[/b]</td>
</table>
<div align="left">
<div style="margin-left:35px;">
<p align="center">
</p>
<table border="1" width="51%" background="überschrift.jpg" style="border-collapse: collapse" bordercolor="#FFFFFF">
<tr>
<td>
<p align="center">[b]News[/b]</td>
</tr>
</table>
<div style="margin-right:30px;">
<table border="1" width="30%" style="border-collapse: collapse" bordercolor="#FFFFFF" align=right>
<tr>
<td width="200%">
<p align="left"><p align="left">
<p align="right"><p align="center"><p align="center"><p align="center"><p align="center">
<p align="center">
<p align="center">
<p align="center">
<p align="center">
<p align="center">
</td>
</tr>
<tr>
<td width="200%">
</td>
</tr>
</table>
<table border="1" width="51%" style="border-collapse: collapse" bordercolor="#FFFFFF">
<tr>
<td>
<p align="left"> </p>
nsja
</td>
</tr>
</table>
</p>
<div style="margin-right:10px;"> <div>
</p>
</p>
<p align="right"> </p>
</p>
<div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
<div align="left">
</div>
</div>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</body>
</html>
Alles anzeigen