Solved

Why doesn't this menu work?

Posted on 2012-04-10
7
188 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
  • 4
  • 3
7 Comments
 
LVL 30

Expert Comment

by:LZ1
Comment Utility
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
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:brucegust
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I'll see what I can do
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

763 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

7 Experts available now in Live!

Get 1:1 Help Now