Solved

Why doesn't this menu work?

Posted on 2012-04-10
7
192 Views
Last Modified: 2012-08-13
I'm building a cascading menu using CSS. I've done it before, but I'm still pretty new to this, hence my current quadary.

Head out to http://muscularchristianityonline.com/campus/about.php I'm trying to get the "About" link on the nav bar to open up a pull down menu just like I did when you head out to http://www.countryshowdown.com. But I'm missing something and I don't know what.

How do I get my pulldown menu to show up? I should be able to hover over "About" and see another menu option, but it's not working and I don't know why.

Thoughts?
0
Comment
Question by:brucegust
[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
  • 4
  • 3
7 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 37829338
It's opening for me in Firefox.  You just need to adjust the top value from 100px to 45px in the #nav ul
0
 

Author Comment

by:brucegust
ID: 37829380
I see what you're talking about, but it doesn't change anything in IE. Is there anything else that's lacking?

Thing is, the exact same infrastructure is at countryshowdown.com. This should work and I don't know why it doesn't.
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37829426
Your missing a doctype.  It's throwing IE into Quirks mode.  You can use the HTML 5 Doctype or you can use another one. But you NEED a doctype.
0
Technology Partners: 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:brucegust
ID: 37834170
I went with <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">, but while it works in Safari, it doesn't work in IE.

What can I do to make it cross platform friendly?
0
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 37834177
Actually the Doctype is something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Or if you want to use the new HTML5 stuff:
<!DOCTYPE>
0
 

Author Comment

by:brucegust
ID: 37834611
That did it!

I've got another question about how to distribute my links evenly on my nav bar. Would love it if you could weigh in on my dilemma.

Thanks!

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_27671547.html
0
 
LVL 30

Expert Comment

by:LZ1
ID: 37834913
I'll see what I can do
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

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

Suggested Solutions

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

730 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