Ik heb een css menu gebouwd, maar die werkt niet in IE6.
Ik heb veel gelezen dat dit niet werkt, maar een passende oplossing heb ik niet kunnen vinden.. Is er iemand die mij kan vertellen hoe ik het IE6 probleem voor mijn menu kan oplossen?

HTML

<body>
<div id="menucontainer">
<div id="menu">
  <p>&nbsp;</p>
  <ul>
    <li id="li1">
      <ul>
          <li id="li1-2"><a>Business</a></li>
      </ul>
    </li>
    	
    <li id="li2">
    	<ul>
          <li id="li2-2"><a>Reflexologie</a></li>
      </ul>
    </li>
    
    <li id="li3">
    	<ul>
          <li id="li3-2"><a>Lypossage</a></li>
      </ul>
    </li>
    
     <li id="li4">
    	<ul>
          <li id="li4-2"><a>Workshops</a></li>
      </ul>
    </li>
  </ul>
</div>
</div>
</body>


CSS



#menucontainer	{
	position:absolute;
	width:350px;
	left:50%;
	margin-left:-175px;
	float:left;
}



#menu a	{
	display:block;
	color:#FFFFFF;
	font-weight:600px;
	text-align:center;
}

#menu ul li {
	display:block;
	position:relative;
	list-style:none;
	margin:3px;
	padding:0px;
	float:left;
	height:15px;
	
}


#menu ul ul	{
	display:none;
}

#menu li:hover ul	{
	display:block;
	position:relative;
	left:0px;
	top:-23px;
	height:auto;
	margin:0px;
	padding:0px;
	left:39px;
}



#li1	{
	background-color:#336666;
	width:60px;
}
		
		#li1-2	{
			background-color:#336666;
			position:absolute;
			left:-42px;
			width:257px;
			
		}





#li2	{
	background-color:#FFcc66;
	width:60px;
}

		#li2-2	{
			background-color:#FFcc66;
			left:-109px;
			width:257px;
		}





#li3	{
	background-color:#999933;
	width:60px;
}

	#li3-2	{
		background-color:#999933;
		width:257px;
		left:-174px;
	}





#li4	{
	background-color:#3399cc;
	width:60px;
}
	#li4-2	{
		background-color:#3399cc;
		width:257px;
		left:-240px;
	}
	
	
<!--[if gt IE 5.0]><![if lt IE 7]>
<style type="text/css">
/* that IE 5+ conditional comment makes this only visible in IE 5+ */
#menu li {  /* the behaviour to mimic the li:hover rules in IE 5+ */
  behavior: url( IEmen.htc );
}
#menu ul ul {  /* copy of above declaration without the > selector, except left position is wrong */
  display: none; position: absolute; top: 2px; left: 78px;
}
</style>
<![endif]><![endif]-->
@Elwin
W3schools zegt zelf:


W3Schools is a website for people with an interest for web technologies. These people are more interested in using alternative browsers than the average user. The average user tends to use Internet Explorer, since it comes preinstalled with Windows. Most do not seek out other browsers.

These facts indicate that the browser figures above are not 100% realistic. Other web sites have statistics showing that Internet Explorer is used by at least 80% of the users.

Anyway, our data, collected from W3Schools' log-files, over a five year period, clearly shows the long and medium-term trends.


Oftewel: de data daar is wel (lichtelijk) afwijkend van de gemiddelde data..
@Robert
Right... dat had ik nog niet gezien... Reden des te meer om IE6 te ondersteunen! :)

Iets andere stats ook beschikbaar.

Reageren