Zdravim vsetkych, urobil som si take menu, ktore funguje v Opere, Firefoxe ale nie v IE. Co mam zmenit v kode, aby to fungovalo. Prosim pomozte, dakujem.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta http-equiv="Content-Language" content="sk">
<title>rolovacie menu</title>
<style type="text/css">
body {background: #eeeeee; color: #000000;}
/* behavior: url(csshover.htc); WinIE behavior call */
h1 {color: #aaaaaa; border-bottom: 1px solid; margin-bottom: 0;}
div#nav {float: left; margin: -1px 0 0 10em;
background: #e0e0d0; border: 1px solid #000000; color:#000000;
}
div#nav ul {margin: 0; padding: 0; background: white; color:#000000;
border: 1px solid #CCC; border-width: 0 1px;
}
div#nav li {position: relative; list-style: none; margin: 0;
float: left; width: 10em; line-height: 1em;
text-align:left;
}
div#nav li:hover {background: #666666;}
div#nav li.submenu {background: url(dropmenu.gif) 95% 50% no-repeat;}
div#nav li.submenu:hover {background-color: #666666;}
div#nav li a {display: block; padding: 0.25em 0 0.25em 0.5em;
text-decoration: none; width: 10em; color:#000000;
}
div#nav li a:hover {display: block; padding: 0.25em 0 0.25em 0.5em;
text-decoration: none; width: 10em; color:#FFFFFF;
}
div#nav ul ul {position: absolute; width: 10em;
display: none;
}
div#nav ul ul li {border-bottom: 3px solid #CCC;}
div#nav ul.level2 {top: 1.5em; left: -1px;}
div#nav ul.level1 li.submenu:hover ul.level2 {display:block;}
</style>
</head>
<body>
<h1>nejaky nadpis</h1>
<div id="nav">
<ul class="level1">
<li><a href="">Hlavná stránka</a>
</li>
<li class="submenu"><a href="">Oficialitky</a>
<ul class="level2">
<li><a href="">nieco1</a></li>
<li><a href="">nieco2</a></li>
<li><a href="">nieco3</a></li>
</ul>
</li>
<li class="submenu"><a href="">Stiahnite si</a>
<ul class="level2">
<li><a href="">nieco1</a></li>
<li class="submenu"><a href="">nieco2</a></li>
<li><a href="">nieco3</a></li>
</ul>
</li>
<li class="submenu"><a href="">Zaujímavosti</a>
<ul class="level2">
<li><a href="">nieco1</a></li>
<li><a href="">nieco2</a></li>
<li><a href="">nieco3</a></li>
</ul>
</li>
</ul>
</div>
</body>
</html>