Solved

css horizontal menu broken in firefox

Posted on 2007-11-19
6
635 Views
Last Modified: 2010-04-21
I have a page at www.pacificatechnologies.net that is using a horizontal css based menu.  It works great in safari and IE 7 on the pc.  However, it doesn't layout properly in firefox on the pc or mac.

Can anyone help me figure out the issue?

0
Comment
Question by:marglar
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:ChetOS82
ID: 20319433
in the css file.  For the "#nav li" declaration, take "display:inline;" out.  That works for FF.  I am not sure if it will continue to work for IE.  Please try that and let me know.
0
 
LVL 12

Accepted Solution

by:
oceanbeach earned 500 total points
ID: 20319446
Hello marglar,

Try removing 'float:left' from '#nav li a' and place it with '#nav li'.

I hope this helps!

oceanbeach
0
 
LVL 12

Expert Comment

by:oceanbeach
ID: 20319594
Hi marglar,

If you switch the float property location, you may also need to change the padding to 0 for #nav li.

-OB
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:marglar
ID: 20320834
That did it OB!  Thanks!


0
 

Author Closing Comment

by:marglar
ID: 31410068
Great!
0
 
LVL 12

Expert Comment

by:oceanbeach
ID: 20320924
Hi marglar,

Happy to be of assistance!

-OB
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now