473,659 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS drop-down menu not showing firefox

27 New Member
Here is the HTML -

<div id="nav">

<ul class="level1">
<li class="submenu" ><a href="../orderflow/control.aspx">O rder Control</a></li>
<ul class="level2">
<li><a href="#">Summar y</a></li>
</ul>
<li class="submenu" ><a href="#">Produc t Control</a></li>
<ul class="level2">
<li><a href="poroduct-add.aspx">Add Product</a></li>
<li><a href="poroduct-del.aspx">Delet e Product</a></li>
<li><a href="poroduct-edit.aspx">Edit Product</a></li>
</ul>
<li class="submenu" ><a href="#">Suppli er Control</a></li>
<ul class="level2">
<li><a href="#">Add Supplier</a></li>
<li><a href="#">Delete Supplier</a></li>
<li><a href="#">Edit Supplier</a></li>
</ul>
<li class="submenu" ><a href="#">Prog Control</a></li>
<ul class="level2">
<li><a href="#">Add Prog</a></li>
<li><a href="#">Delete Prog</a></li>
<li><a href="#">Edit Prog</a></li>
</ul>
</ul>

</div>

Here's the CSS -

div#nav {
width:625px;
margin: 0 auto;
text-align:left;
color:#fff;
padding:120px 0 0 0;
}

div#nav a{
color:#fff;
text-decoration:none ;
font-family: Tahoma, Arial, sans-serif;
font-size: 1.2em;
}

div#nav ul.level1 li{
float:left;
}

div#nav ul.level2 {
margin-top:3px;
}

div#nav ul.level2 li{
clear:both;
}

div#nav ul.level1 li a{
width:155px;
background-color:#59AEDA;
display:block;
text-align:center;
}

div#nav ul.level2 li a{
width:155px;
padding: 5px 5px 5px 5px;
voice-family: "\" }\""; voice-family:inherit;
width:145px;
background-color:#59AEDA;
display:block;
text-align:left;
}

div#nav ul.level2 li a:hover{
width:155px;
padding: 5px 5px 5px 5px;
voice-family: "\" }\""; voice-family:inherit;
width:145px;
background-color:#66CCFF;
display:block;
text-align:left;
}

div#nav ul ul{
display:none;
}

div#nav ul.level1 li.submenu:hove r ul.level2 {
display:block;
}
Jul 18 '07 #1
8 3147
adz1809
27 New Member
here's the full HTML -

<body>

<div id="holder">

<div id="header">
<div id="nav">

<ul class="level1">
<li class="submenu" ><a href="../orderflow/control.aspx">O rder Control</a></li>
<ul class="level2">
<li><a href="#">Summar y</a></li>
</ul>
<li class="submenu" ><a href="#">Produc t Control</a></li>
<ul class="level2">
<li><a href="poroduct-add.aspx">Add Product</a></li>
<li><a href="poroduct-del.aspx">Delet e Product</a></li>
<li><a href="poroduct-edit.aspx">Edit Product</a></li>
</ul>
<li class="submenu" ><a href="#">Suppli er Control</a></li>
<ul class="level2">
<li><a href="#">Add Supplier</a></li>
<li><a href="#">Delete Supplier</a></li>
<li><a href="#">Edit Supplier</a></li>
</ul>
<li class="submenu" ><a href="#">Prog Control</a></li>
<ul class="level2">
<li><a href="#">Add Prog</a></li>
<li><a href="#">Delete Prog</a></li>
<li><a href="#">Edit Prog</a></li>
</ul>
</ul>

</div>
</div>

<div id="frame">

</div>

<div id="footer">

</div>

</div>


</body>
Jul 18 '07 #2
adz1809
27 New Member
any help please? It works to a point IE, but no go at all in Firefox.

Also it is appearing underneath other page content any help in this would also be great, I tried z-indexing but no joy.
Jul 19 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
Sorry, I'm gone all week and only have a minute. Get the page working in Firefox. IE has too many bugs. Make sure you have a doctype. aspx files are notorious for being IE-centric and non-standard. Also, validate your html and css.
Jul 19 '07 #4
hubhamers
5 New Member
Sorry, I'm gone all week and only have a minute. Get the page working in Firefox. IE has too many bugs. Make sure you have a doctype. aspx files are notorious for being IE-centric and non-standard. Also, validate your html and css.
That's easily said: how many people are still using IE6? Only about 38%?
Jul 20 '07 #5
sassygray5
5 New Member
Hey, I had a menu just like that before I remodeled my website. I had the same problems... unfortunately I didn't find a solution. That's one reason I remodeled... Did you get the script from Dynamic Drive?

Sorry, I'm not much help but, I would suggest just getting another menu.
Jul 20 '07 #6
drhowarddrfine
7,435 Recognized Expert Expert
That's easily said: how many people are still using IE6? Only about 38%?
The reason you get pages to work in Firefox first because it is the most standards-compliant browser. IE is riddled with bugs which can fool you and make your page not work in any other browser. So code to standards and test in a modern browser which makes it easier to hack and fix IE.
Jul 21 '07 #7
jimberry
11 New Member
That's easily said: how many people are still using IE6? Only about 38%?
Rather more are using IE7, and that is almost as bad.
Jul 22 '07 #8
jimberry
11 New Member
Try the dropdown menus from here and here and also look at the "sliding doors" menus
Jul 22 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4557
by: riehe | last post by:
Dear all I want to drop a node from a nodegroup. Can someone confirm if its enough to redistribute a node group with a partition map which doesn't include the node to be dropped? I can't see any other way to drop node 3 from my setup of 5 nodes than to make a partmap file, DNODE_tmap, formatted so 1 2 4
1
5789
by: Ian Dobson | last post by:
Hi, I need to drop a schema from a database but it has 400 tables in it. Is there an easy way to do it other than drop table schema1.table1 drop table schema1.table2 etc.. to 400 and then drop schema schema1? thanks
0
2594
by: Lauren Quantrell | last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.) onto a field in Access2K and capture the full file path. I found an posting below that says this is possible but I cannot simutate it. Can anyone help? Thanks ************************** previous post: Message 1 in thread
8
20832
by: WindAndWaves | last post by:
Hi everyone, Has anyone got any experience with drop and drag in Access? I would like to make a calendar style form where my users can drop and drag appointments.... I am using Access 2003 and I have access to .net and the like, but I would really like to keep it simple.
1
3726
by: Torre Quinn | last post by:
Does anyone have any good sites or resources dealing with adding drag and drop functionality to a set of controls on a form? I'd like to try to get several examples of varied applications of drag and drop being used on different types of controls. My current task is this. I have a treeview control and a data grid control. The data grid has two fields, 'value' and 'name'. I want to be able to drag nodes from the tree view and drop them...
3
10586
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
1
4707
by: Darren | last post by:
I'm trying to create a file using drag and drop. I want to be able to select a listview item drag it to the shell and create a file. Each icon in the listview represents a blob in a database. When I drop onto the shell I want a file created with a specified name containing the data from the database. I've looked at the FileDrop format but it look to have only the filename and not the data. TIA
15
10806
by: uwcssa | last post by:
I try to drop a table as: I got: During SQL processing it returned: SQL0478N The object type "TABLE" cannot be dropped because there is an object "sch.SQL070515104729271", of type "FUNCTION", which depends on it. SQLSTATE=42893 Then I tried to do
1
4807
by: Thi | last post by:
Hi, I am trying to develop an application that allows the users to drag a few file(s) from a zip archive to a destination. My question is, how do i determine where the drop destination is because i need to do some validation checking before extracting the files from the zip archive (e.g. validate archive password). Any help or some sample codes would be very much appreciated.
5
13768
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with drag&drop on the same page (which was not possible). Now i´ve a new concept of the script, more object oriented. I´ve also commented the whole code so you guys can easier understand it engine. What exactly we need when trying to make a column drag &...
0
8330
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8850
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8523
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8626
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.