Solved

Problem with CSS menu & unwanted dashed box around selected links in FF

Posted on 2010-09-07
10
580 Views
Last Modified: 2013-12-25
Hi...  The menu (see code) works for whichever link is clicked for just the first time.  It dies not work for any subsequent link clicked; i.e., the second link is unresponsive "dead'.  What am I missing here?

The menu is a pure css horizontal menu and it can be seen in action (or non action) at www.renaissanceseniorinvestments.com.  

An unrelated question; how can I get id of the dashed boxes around selected links in FF?

HTML:

<div id="navigation">
                        <ul id="navlist">
                              <li><a href="contact.htm">Contact</a></li>
                              <li><a href="rsc.htm">RSC</a></li>
                              <li><a href="partners.htm">Partners</a></li>
                              <li><a href="success-stories.htm">Success Stories</a></li>
                              <li><a href="5-key-points.htm">5-Key Points</a></li>
                              <li><a href="index.htm">Home</a></li>
                        </ul>
                  </div>

CSS:


#navigation {
      display: block;
      position: absolute;
      z-index: 50;
      top: 195px;
      left: 0px;
      width: 880px;
      height: 30px;
      color: #FFFFFF;
      background-color: #5F6565;
}

#navigation ul {
      list-style: none;            
      padding-right: 95px;
      margin-left: 0;
      float: right;
      width: 100%;
}

#navigation ul li {
      display: inline;
}

#navigation ul li a {
      padding-right: 40px;
      text-decoration: none;
      color: #FFFFFF;
      float: right;
}

#navigation ul li a:hover {
      color: #C2C2C2;
      text-decoration: none;
}
0
Comment
Question by:dlearman1
[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
  • 3
  • 3
  • +1
10 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 33615560
outline:none;
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 33615568
Are you trying to select the same option again while it is selected already?
It works for me if you select the different link from what is already selected.

 
0
 

Author Comment

by:dlearman1
ID: 33615634
QPR:  Thanks for the tip it worked perfectly.

 I see that I didn't give the entire link.  It should be  www.renaissanceseniorinvestments.com/beta.  Sorry about that and no I'm not trying the same link again.  Thanks for your help on this.
0
SendBlaster Pro 4 - Bulk Email Sending Software

SendBlaster 4 Pro - Best Bulk Emailing Sending Software
Automatic Subscribe / Unsubscribe Processing
Great for Newsletters & Mass Mailings
Optional HTML & Text Composition
Integration with Google Features
Built in Spam Score Checking
Free Professional Templates - Feature Packed!

 
LVL 29

Expert Comment

by:QPR
ID: 33615948
glad to hear we got it solved. I didn't follow any links I just knew this was the answer from previous exp
0
 

Author Comment

by:dlearman1
ID: 33615987
That solved the "dashed box" issue.  I still need help with the navigation problem.  THANKS
0
 
LVL 29

Expert Comment

by:QPR
ID: 33616072
Oh I forgot the 1st Q and dived into the 2nd :)
Does the link work if u click it a second time?
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33616181
strange thing

<div id="navigation">
                        <ul id="navlist">
                              <li><a href="contact.htm">Contact</a></li>
                              <li><a href="rsc.htm">RSC</a></li>
                              <li><a href="partners.htm">Partners</a></li>
                              <li><a href="success-stories.htm">Success Stories</a></li>
                              <li><a href="5-key-points.htm">5-Key Points</a></li>
                              <li><a href="index.htm">Home</a></li>
                        </ul>
                  </div>

becomes

                  <div id="navigation">
                        <ul id="navlist">
                              <li id="active"><a href="#" id="current">Contact</a></li>
                              <li><a href="#">RSC</a></li>
                              <li><a href="#">Partners</a></li>
                              <li><a href="#">Success-Stories</a></li>
                              <li><a href="#">5-Key-Points</a></li>
                              <li><a href="#">Home</a></li>
                        </ul>
                  </div>

after clicking one of the links
Doesn't the page contact.htm (for example) reside somewhere else ?
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33616183
Or there is some js regenerating the links.
0
 
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33616194
try to change the path to /beta

<div id="navigation">
                        <ul id="navlist">
                              <li><a href="beta/contact.htm">Contact</a></li>
                              <li><a href="beta/rsc.htm">RSC</a></li>
                              <li><a href="beta/partners.htm">Partners</a></li>
                              <li><a href="beta/success-stories.htm">Success Stories</a></li>
                              <li><a href="beta/5-key-points.htm">5-Key Points</a></li>
                              <li><a href="beta/index.htm">Home</a></li>
                        </ul>
                  </div>
0
 

Author Closing Comment

by:dlearman1
ID: 33728311
@ part question, only one part answered.
0

Featured Post

SuperAntiSpyware Licenses Discounted by 25% !

Exclusive offer to Experts Exchange Members!
Buy SuperAntiSpyware License(s) from us and save 25% on the regular purchase price.
- Includes Full SuperAntiSpyware Vendor Support Entitlements
- Your Subscription does not begin until you activate your license
- Buy for your friends

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
original content 7 122
Computer Stuck / Freezes for a couple of seconds 32 83
Using URL without web site 2 40
No Google Earth on my MacBook? 9 40
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

739 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