Solved

css horizontal menu broken in firefox

Posted on 2007-11-19
6
639 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
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).

705 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