Menu link at IE6 problem

Hello

I have dropdown menu and it’s appear good at Firefox , chrome and IE8
like image1
but IE6 it’s not good like image 2
i used this code for it

#mmenu li ul
		{	margin: 0;
			padding: 0;
			position: absolute;
			visibility: hidden;
			border-top: 1px solid white;
			display:block;}
		
		#mmenu li ul li
		{	float: none;
			display: inline;
			
			}
		
		#mmenu li ul li a
		{	width: auto;
			background: #9F1B1B;}

That’s not really enough code. Could you post a link, or a sample page that we can test?

sorry this site at local server
and this is html code

<ul id="mmenu ">
    <li><a href="#">testlinks</a>
        <ul>
            <li><a href="#">testlink1</a></li>
            <li><a href="#">testlink2</a></li>
           
        </ul>
    </li></ul>

Still not enough code

Yes, it takes way more CSS than you posted to make a drop list, such as :hover rules. Post all of your CSS.

this all css code

#mmenu
{	margin: 0;
	padding: 0;
	z-index: 30}

#mmenu li
{	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	font: bold 11px arial}

#mmenu li a
{	display: block;
	margin: 0 1px 0 0;
	padding: 4px 10px;
	width: 60px;
	background: #5970B2;
	color: #FFF;
	text-align: center;
	text-decoration: none}

#mmenu li a:hover
{	background: #49A3FF}

#mmenu div
{	position: absolute;
	visibility: hidden;
	margin: 0;
	padding: 0;
	background: #EAEBD8;
	border: 1px solid #5970B2}

	#mmenu div a
	{	position: relative;
		display: block;
		margin: 0;
		padding: 5px 10px;
		width: auto;
		white-space: nowrap;
		text-align: left;
		text-decoration: none;
		background: #EAEBD8;
		color: #2875DE;
		font: 11px arial}

	#mmenu div a:hover
	{	background: #49A3FF;
		color: #FFF}

and this is html

<ul id="mmenu">
	<li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">testlinks</a>
		<div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
	<a href="#"  >testlink1</a>
		
<a href="#">testlink1</a>
	
		</div>
	</li>
</ul>

I propose a sticky! How to post code 101. Why do the helpers have to be puzzle makers. Why would I want to piece it all together just to test. Shouldn’t the helped do the grunt work? For gods sakes! Preferably post a stripped down test page link. If a link is not doable then just post all the stripped down working code. Wrapped in one code tag with a doctype and everything else to make it work. It should go >> Copy >> paste >> test. Three steps total.

Yes, that code as posted doesn’t work as a dropdown in any browser. Here’s a nice example of how to do a dropdown. (View source to get the code.)

Horizontal Drop Down Menus