Hi,
I've been working on a horizontal drop down menu today, and I can get it to display perfectly in everything bar IE6.
Basically instead of them lining up horizontally, they line up vertically instead.
And this only happens when I don't give the LI in the menu list and fixed width, which I don't want because if I have a fixed width the menu list get's too long due to some words being longer than others and then it doesn't fit on the page!
the website is currently hosted at www.tri-websites.com
it will ask for a username & password
username - trisynergy
password - fsr
some people have said it may be because of the csshover.htc file I have in there as it is linked at the top of the page for if IE, but IE7 work's fine with it so I'm not sure if that's the problem!
the css for it is shown below
any ideas? thanks!
I've been working on a horizontal drop down menu today, and I can get it to display perfectly in everything bar IE6.
Basically instead of them lining up horizontally, they line up vertically instead.
And this only happens when I don't give the LI in the menu list and fixed width, which I don't want because if I have a fixed width the menu list get's too long due to some words being longer than others and then it doesn't fit on the page!
the website is currently hosted at www.tri-websites.com
it will ask for a username & password
username - trisynergy
password - fsr
some people have said it may be because of the csshover.htc file I have in there as it is linked at the top of the page for if IE, but IE7 work's fine with it so I'm not sure if that's the problem!
the css for it is shown below
Code:
/* Begin CSS Drop Down Menu */ #menuh-container { } #menuh { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.8em; float:left; position:absolute; left:0; top:0; } #menuh a { text-align: center; display:block; border: 1px solid #555; white-space:nowrap; margin:0; padding-top: 0.2em; padding-left:1em; padding-right:1em; } #menuh a:link, #menuh a:visited, #menuh a:active /* menu at rest */ { color: white; background-image:url(../images/navbarbgsmall.jpg); background-repeat:repeat; text-decoration:none; height:25px; } #menuh a:hover /* menu on mouse-over */ { color: white; text-decoration:underline; } #menuh a.top_parent, #menuh a.top_parent:hover /* attaches down-arrow to all top-parents */ { background-image:url(../images/navbarbgsmall.jpg); background-repeat:repeat; } #menuh a.parent, #menuh a.parent:hover /* attaches side-arrow to all parents */ { background-image:url(../images/navbarbgsmall.jpg); background-repeat:repeat; } #menuh ul { list-style:none; margin:0; padding:0; float:left; } #menuh li { position:relative; min-height: 1px; vertical-align: bottom; } #menuh ul ul { position:absolute; z-index:500; top:auto; display:none; padding: 1em; margin:-1em 0 0 -1em; } #menuh ul ul ul { top:0; left:100%; } div#menuh li:hover { cursor:pointer; z-index:100; } div#menuh li:hover ul ul, div#menuh li li:hover ul ul, div#menuh li li li:hover ul ul, div#menuh li li li li:hover ul ul {display:none;} div#menuh li:hover ul, div#menuh li li:hover ul, div#menuh li li li:hover ul, div#menuh li li li li:hover ul {display:block;} /* End CSS Drop Down Menu */
Comment