Solved

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

Posted on 2010-09-07
10
570 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
  • 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
 
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firefox 50 saying your connection is not secure to every website 13 98
Download a website to hdd 2 52
Alignment is not working correctly. 8 33
Objects on Same Line 2 18
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

863 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

21 Experts available now in Live!

Get 1:1 Help Now