PDA

View Full Version : ie not displaying correctly Chrome CSS Drop Down Menu (v2.01)



captaindj2006
09-30-2007, 04:54 PM
Hello All,

I looked for this problem. I hope i didn't miss it.

I am trying to use a css dropdown menu: Chrome CSS Drop Down Menu (v2.01)


It looks gret in firefox but not in ie.

http://www.tkds.biz/airline/ex1/index.html

I know I am missing something but don't understand what. Can someone help me? Thank you in advance.

.chromestyle{
width: 99%;
font-weight: bold;
}

.chromestyle:after{ /*Add margin between menu and rest of content in Firefox*/
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.chromestyle ul{
border: 1px solid #BBB;
width: 100%;
background: url(http://www.tkds.biz/airline/ex1/images/chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
padding: 4px 0;
margin: 0;
text-align: center; /*set value to "left", "center", or "right"*/
}

.chromestyle ul li{
display: inline;
}

.chromestyle ul li a{
color: #494949;
padding: 4px 7px;
margin: 0;
text-decoration: none;
border-right: 1px solid #DADADA;
}

.chromestyle ul li a:hover{
background: url(http://www.tkds.biz/airline/ex1/images/chromebg-over.gif) center center repeat-x; /*THEME CHANGE HERE*/
}

.chromestyle ul li a[rel]:after{ /*HTML to indicate drop down link*/
content: " v";
/*content: " " url(downimage.gif); /*uncomment this line to use an image instead*/
}


/* ######### Style for Drop Down Menu ######### */

.dropmenudiv{
position:absolute;
top: 0;
border: 1px solid #BBB; /*THEME CHANGE HERE*/
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
background-color: white;
width: 200px;
visibility: hidden;
filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4); /*Add Shadow in IE. Remove if desired*/
}


.dropmenudiv a{
width: auto;
display: block;
text-indent: 3px;
border-bottom: 1px solid #BBB; /*THEME CHANGE HERE*/
padding: 2px 0;
text-decoration: none;
font-weight: bold;
color: black;
}

* html .dropmenudiv a{ /*IE only hack*/
width: 100%;
}

.dropmenudiv a:hover{ /*THEME CHANGE HERE*/
background-color: #F0F0F0;
}

ddadmin
10-01-2007, 12:04 AM
What problem are you referring to in IE? In IE7, the menu seems to be working correctly for me.

p.s: Please format any code in your post using the CODE tag. This makes it a lot easier to read it.

eman
10-09-2007, 08:10 PM
Yeah, I don't see any problems in IE7. I see the drop down for travel discounts working. Did you have other menu blocks that are not working?

fxr
10-09-2007, 08:20 PM
i see some differences, but on the page, but not on the menu. what version of ie, I'm using IE7.