473,326 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

horizontal submenu not displaying in IE

Code is below. Works in Firefox but not IE. I understand there is a box
issue with IE but I am having problems fixing this.

Many thanks for any help!

#navigation {
float: left;
width: 125px;
padding: 0;
}
#navigation ul {
margin: 0;
list-style: none;
margin-top: 2px;
padding: 0;
}
#navigation li {
width: 125px;
border-bottom: 1px solid #722100;
}
#navigation a:link, #navigation a:visited {
display: block;
padding: 5px 5px 5px 0.5em;
color: #FFFFFF;
text-decoration: none;
height: 100%;
}
#navigation a:hover {
background-color: #9c20da;
color: #FFFFFF;
}
#navigation li {
position: relative;
}
#navigation ul ul {
position: absolute;
top: 0;
left: 100%;
width: 100%;
}
div#navigation ul ul,
div#navigation ul li:hover ul ul{
display: none;
background-image: url(bg.gif);
background-repeat: repeat-y;
background-position: left top;
}
div#navigation ul li:hover ul,
div#navigation ul ul li:hover ul{
display: block;
}
.....
<div id="navigation">
<ul>
<li><a href="/">Home</a></li>
<li><a href="#">Links</a>
<ul>
<li><a href="#">Link1</a></li>
<li><a href="#">Link2</a></li>
</ul>

</li>
<li><a href="#">Link3</a></li>
</ul>
</div>
Jan 23 '07 #1
1 3445
Hi Paul

I am not sure what is not working exactly, but here my thoughts...

1) If you make menu for IE6, you should not use 'li:hover' - user
a:hover instead.
2) If you have issues with IE box model switch to W3C box model:
http://www.456bereastreet.com/archiv..._css_box_model
http://msdn.microsoft.com/workshop/a...ts/doctype.asp

- Alex.

Jan 23 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Maria Gonzalez | last post by:
Hello, I would like to know if it is possible to create a Navigational Menu that has all the Major Categories on top row, then when a mouse is over it, the bottom row appears with sublinks but...
2
by: polo | last post by:
Hi i am trying to get a horizontal menu and sub menu in css, which works great on my Firefox But, in order to get around the ie hover bug, i included some javascript which gives me a strange...
9
by: Verona Busch | last post by:
Hi everybody, I am very happy to find this group. I am searching for a solution to make a horizontal list menu with submenu on hover. I found a lot of examples for horizontal lists which open...
0
by: Peter May | last post by:
Hello. I have menu with submenu: http://www.autogaz.miniportal.pl/temp/2level.html Well, the firstly IE don't want to view submenu horizontally. Don't know why. Secondly, in submenu I want...
0
by: Exch | last post by:
Hello, I have a trouble with the expansion of sub-menu items in an horizontal menu. This menu is in the bottom of a web page. I'd like to expand its sub-menu on the top and not on the bottom. How...
2
by: Sergio E. | last post by:
Hi group, I write this post with the following question: How can I to build an absolutely horizontal menu?, This is because I can't find how can I configure the menu component of asp.net 2.0...
0
Denburt
by: Denburt | last post by:
This code is for a Toggle Button layout on a form, with this code you can set a number of toggle buttons visible and have multiple submenus that will stay hidden when not in use. My main menu is set...
1
by: camphor | last post by:
hi, I have a single column webpage with a horizontal dropdown menu and am trying to make the nav bar fit across the page, the column is 800px, it looks ok in dreamweaver 8 but when I test it in...
1
by: bhosalevivek | last post by:
I did this code from Dynamic Drive DHTML. it's working properly, but now I need submenu for "Submenu 1.2", means when I take mouse on "Submenu 1.2" I need to display "Submenu 1.2.1". I try to do...
7
by: vulpes | last post by:
Hi, I have a horizontal css list and I'd like its last item to be aligned to the right end of the space given to the list. I can separate it from the rest with margin-left: 10em, but that's...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.