Solved

css horizontal menu broken in firefox

Posted on 2007-11-19
6
638 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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